Package net.handle.hdllib
Interface DumpHandlesCallback
-
public interface DumpHandlesCallbackInterface used to define objects that want to receive the streamed results from DumpHandlesResponse messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHandle(byte[] handle, HandleValue[] values)Process the given transaction which was received via the stream in the DumpHandlesResponse message.voidaddHomedPrefix(byte[] naHandle)Process the given prefix which was received via the stream in the DumpHandlesResponse message.voidprocessOtherSiteReplicationInfo(net.cnri.util.StreamTable replicationConfig)voidprocessThisServerReplicationInfo(long retrievalDate, long currentTxnId)voidsetLastCreateOrDeleteDate(byte[] handle, long date, int priority)voidsetLastHomeOrUnhomeDate(byte[] handle, long date, int priority)
-
-
-
Method Detail
-
addHandle
void addHandle(byte[] handle, HandleValue[] values) throws java.lang.ExceptionProcess the given transaction which was received via the stream in the DumpHandlesResponse message.- Throws:
java.lang.Exception
-
addHomedPrefix
void addHomedPrefix(byte[] naHandle) throws java.lang.ExceptionProcess the given prefix which was received via the stream in the DumpHandlesResponse message. If this message is called, that means that the server is responsible for this prefix.- Throws:
java.lang.Exception
-
processThisServerReplicationInfo
void processThisServerReplicationInfo(long retrievalDate, long currentTxnId)
-
processOtherSiteReplicationInfo
void processOtherSiteReplicationInfo(net.cnri.util.StreamTable replicationConfig) throws HandleException- Throws:
HandleException
-
setLastCreateOrDeleteDate
void setLastCreateOrDeleteDate(byte[] handle, long date, int priority) throws java.lang.Exception- Throws:
java.lang.Exception
-
setLastHomeOrUnhomeDate
void setLastHomeOrUnhomeDate(byte[] handle, long date, int priority) throws java.lang.Exception- Throws:
java.lang.Exception
-
-