org.codehaus.wadi.replication.manager
Interface ReplicationManager
- All Superinterfaces:
- Lifecycle
- All Known Implementing Classes:
- NoOpReplicationManager, SyncReplicationManager
public interface ReplicationManager
- extends Lifecycle
- Version:
- $Revision: 2388 $
NAME
static final ServiceName NAME
create
void create(java.lang.Object key,
java.lang.Object tmp)
throws ReplicationKeyAlreadyExistsException,
InternalReplicationManagerException
- Throws:
ReplicationKeyAlreadyExistsException
InternalReplicationManagerException
update
void update(java.lang.Object key,
java.lang.Object tmp)
throws ReplicationKeyNotFoundException,
InternalReplicationManagerException
- Throws:
ReplicationKeyNotFoundException
InternalReplicationManagerException
destroy
void destroy(java.lang.Object key)
retrieveReplica
java.lang.Object retrieveReplica(java.lang.Object key)
throws ReplicationKeyNotFoundException,
InternalReplicationManagerException
- Throws:
ReplicationKeyNotFoundException
InternalReplicationManagerException
insertReplicaInfo
void insertReplicaInfo(java.lang.Object key,
ReplicaInfo replicaInfo)
throws ReplicationKeyAlreadyExistsException
- Throws:
ReplicationKeyAlreadyExistsException
releaseReplicaInfo
ReplicaInfo releaseReplicaInfo(java.lang.Object key,
org.codehaus.wadi.group.Peer newPrimary)
throws ReplicationKeyNotFoundException
- Throws:
ReplicationKeyNotFoundException
getManagedReplicaInfoKeys
java.util.Set<java.lang.Object> getManagedReplicaInfoKeys()
Copyright © 2008. All Rights Reserved.