Rio Project 4.2 API Documentation
org.rioproject.watch
Class WatchDataReplicatorProxy
java.lang.Object
org.rioproject.watch.QueuedReplicator
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
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 © 2006-2011 Rio Project. All Rights Reserved.