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 TypeMethodDescriptionvoid
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
(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 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
-