net.tomp2p.replication
Class DefaultStorageReplication

java.lang.Object
  extended by net.tomp2p.replication.DefaultStorageReplication
All Implemented Interfaces:
Runnable, ResponsibilityListener

public class DefaultStorageReplication
extends Object
implements ResponsibilityListener, Runnable


Constructor Summary
DefaultStorageReplication(Peer peer, StorageGeneric storage, StorageRPC storageRPC, Map<BaseFuture,Long> pendingFutures, boolean forceUDP)
           
 
Method Summary
 void meResponsible(Number160 locationKey)
           
 void otherResponsible(Number160 locationKey, PeerAddress other)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStorageReplication

public DefaultStorageReplication(Peer peer,
                                 StorageGeneric storage,
                                 StorageRPC storageRPC,
                                 Map<BaseFuture,Long> pendingFutures,
                                 boolean forceUDP)
Method Detail

otherResponsible

public void otherResponsible(Number160 locationKey,
                             PeerAddress other)
Specified by:
otherResponsible in interface ResponsibilityListener

meResponsible

public void meResponsible(Number160 locationKey)
Specified by:
meResponsible in interface ResponsibilityListener

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2013. All Rights Reserved.