Rio Project 4.2 API Documentation



org.rioproject.watch
Class WatchDataReplicatorProxy

java.lang.Object
  extended by org.rioproject.watch.QueuedReplicator
      extended by org.rioproject.watch.WatchDataReplicatorProxy
All Implemented Interfaces:
Serializable, WatchDataReplicator

public class WatchDataReplicatorProxy
extends QueuedReplicator

Proxy for a WatchDataReplicator to be used in conjunction with a RemoteWatchDataReplicator.

See Also:
Serialized Form

Method Summary
protected  void bulkReplicate(Collection<Calculable> calculables)
          Performs the actual write to the underlying resource
 boolean equals(Object o)
           
static WatchDataReplicatorProxy getInstance(RemoteWatchDataReplicator backend, UUID uuid)
           
 int hashCode()
           
protected  void replicate(Calculable calculable)
          Performs the actual write to the underlying resource
 
Methods inherited from class org.rioproject.watch.QueuedReplicator
addCalculable, close, closeResource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WatchDataReplicatorProxy getInstance(RemoteWatchDataReplicator backend,
                                                   UUID uuid)

replicate

protected void replicate(Calculable calculable)
                  throws IOException
Description copied from class: QueuedReplicator
Performs the actual write to the underlying resource

Specified by:
replicate in class QueuedReplicator
Parameters:
calculable - the Calculable record to replicate
Throws:
IOException - if the write encounters errors

bulkReplicate

protected void bulkReplicate(Collection<Calculable> calculables)
                      throws IOException
Description copied from class: QueuedReplicator
Performs the actual write to the underlying resource

Specified by:
bulkReplicate in class QueuedReplicator
Parameters:
calculables - Collection of Calculable records to replicate
Throws:
IOException - if the write encounters errors

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.