org.hypergraphdb.peer.replication
Class Replication

java.lang.Object
  extended by org.hypergraphdb.peer.replication.Replication

public class Replication
extends java.lang.Object


Constructor Summary
Replication(HyperGraphPeer thisPeer)
           
 
Method Summary
 void catchUp()
          Initializes a catch-up phase.
static Replication get(HyperGraphPeer peer)
           
 HGAtomPredicate getAtomInterests()
           
 void setAtomInterests(HGAtomPredicate atomInterests)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Replication

public Replication(HyperGraphPeer thisPeer)
Method Detail

get

public static Replication get(HyperGraphPeer peer)

getAtomInterests

public HGAtomPredicate getAtomInterests()

setAtomInterests

public void setAtomInterests(HGAtomPredicate atomInterests)

catchUp

public void catchUp()
Initializes a catch-up phase. During this all the known peers will be connected to see if any information has been sent to this peer while it was off line. If there is any, the peer should not resume normal operations until this task completes.