@FunctionalInterface public static interface Replication.IObjectWriteCallback
GetDocumentsMode.SEND_OBJECTS
is specified and objectDb
is not NULL. For each object this will be
called one or more timesModifier and Type | Method and Description |
---|---|
Replication.Action |
objectChunkWritten(Document doc,
int oldRRV,
Optional<DominoException> status,
ByteBuffer buffer,
int bufferSize)
Called for each "chunk" of each object
|
Replication.Action objectChunkWritten(Document doc, int oldRRV, Optional<DominoException> status, ByteBuffer buffer, int bufferSize)
doc
- document containing the objectoldRRV
- Old Record Relocation Vectorstatus
- if not empty, contains any error that occurredbuffer
- buffer containing a "chunk" of the object (as this function will be called one or more time for each object)bufferSize
- size of byte bufferReplication.Action.STOP
to stop reading document dataCopyright © 2019–2021 HCL. All rights reserved.