Package net.handle.hdllib
Interface DumpHandlesCallback
-
public interface DumpHandlesCallback
Interface 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 void
addHandle(byte[] handle, HandleValue[] values)
Process the given transaction which was received via the stream in the DumpHandlesResponse message.void
addHomedPrefix(byte[] naHandle)
Process the given prefix which was received via the stream in the DumpHandlesResponse message.void
processOtherSiteReplicationInfo(net.cnri.util.StreamTable replicationConfig)
void
processThisServerReplicationInfo(long retrievalDate, long currentTxnId)
void
setLastCreateOrDeleteDate(byte[] handle, long date, int priority)
void
setLastHomeOrUnhomeDate(byte[] handle, long date, int priority)
-
-
-
Method Detail
-
addHandle
void addHandle(byte[] handle, HandleValue[] values) throws java.lang.Exception
Process 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.Exception
Process 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
-
-