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
Modifier and TypeMethodDescriptionvoidaddHandle(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(StreamTable replicationConfig) voidprocessThisServerReplicationInfo(long retrievalDate, long currentTxnId) voidsetLastCreateOrDeleteDate(byte[] handle, long date, int priority) voidsetLastHomeOrUnhomeDate(byte[] handle, long date, int priority)
-
Method Details
-
addHandle
Process the given transaction which was received via the stream in the DumpHandlesResponse message.- Throws:
Exception
-
addHomedPrefix
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:
Exception
-
processThisServerReplicationInfo
void processThisServerReplicationInfo(long retrievalDate, long currentTxnId) -
processOtherSiteReplicationInfo
- Throws:
HandleException
-
setLastCreateOrDeleteDate
- Throws:
Exception
-
setLastHomeOrUnhomeDate
- Throws:
Exception
-