org.edg.info
Class ReplicaManager

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.edg.info.ReplicaManager
All Implemented Interfaces:
java.lang.Runnable

public class ReplicaManager
extends java.lang.Thread

The ReplicaManager is used to issue and recieve regular updates from neighbouring Registries.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 long getReplicationIntervalMillis()
           
 boolean isReplicating()
           
 void run()
          Thread will copy the db content originating from this Registry with neighboring Registry services.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

run

public void run()
Thread will copy the db content originating from this Registry with neighboring Registry services.


isReplicating

public boolean isReplicating()
Returns:
Returns true if the replication routine is active, returns false if terminated.

getReplicationIntervalMillis

public long getReplicationIntervalMillis()
Returns:
Returns the replication interval, defined in milliseconds.