org.codehaus.wadi.replication.manager.basic
Class NoOpReplicationManager
java.lang.Object
org.codehaus.wadi.replication.manager.basic.NoOpReplicationManager
- All Implemented Interfaces:
- Lifecycle, ReplicationManager
public class NoOpReplicationManager
- extends java.lang.Object
- implements ReplicationManager
- Version:
- $Revision: 1538 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpReplicationManager
public NoOpReplicationManager()
releaseReplicaInfo
public ReplicaInfo releaseReplicaInfo(java.lang.Object key,
org.codehaus.wadi.group.Peer newPrimary)
throws ReplicationKeyNotFoundException
- Specified by:
releaseReplicaInfo
in interface ReplicationManager
- Throws:
ReplicationKeyNotFoundException
insertReplicaInfo
public void insertReplicaInfo(java.lang.Object key,
ReplicaInfo replicaInfo)
throws ReplicationKeyAlreadyExistsException
- Specified by:
insertReplicaInfo
in interface ReplicationManager
- Throws:
ReplicationKeyAlreadyExistsException
retrieveReplica
public java.lang.Object retrieveReplica(java.lang.Object key)
throws ReplicationKeyNotFoundException,
InternalReplicationManagerException
- Specified by:
retrieveReplica
in interface ReplicationManager
- Throws:
ReplicationKeyNotFoundException
InternalReplicationManagerException
create
public void create(java.lang.Object key,
java.lang.Object tmp)
throws ReplicationKeyAlreadyExistsException,
InternalReplicationManagerException
- Specified by:
create
in interface ReplicationManager
- Throws:
ReplicationKeyAlreadyExistsException
InternalReplicationManagerException
destroy
public void destroy(java.lang.Object key)
- Specified by:
destroy
in interface ReplicationManager
update
public void update(java.lang.Object key,
java.lang.Object tmp)
throws ReplicationKeyNotFoundException,
InternalReplicationManagerException
- Specified by:
update
in interface ReplicationManager
- Throws:
ReplicationKeyNotFoundException
InternalReplicationManagerException
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface Lifecycle
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop
in interface Lifecycle
- Throws:
java.lang.Exception
getManagedReplicaInfoKeys
public java.util.Set<java.lang.Object> getManagedReplicaInfoKeys()
- Specified by:
getManagedReplicaInfoKeys
in interface ReplicationManager
Copyright © 2008. All Rights Reserved.