@FunctionalInterface public static interface Replication.IObjectAllocCallback
GetDocumentsMode.SEND_OBJECTS
is specified and objectDb
is not NULL,
this function is called exactly once for each object to provide the caller with information
about the object's size and ObjectID. The intent is to allow for the physical allocation
for the object if need be. It is called before the Replication.IDocumentOpenCallback
for the corresponding documentModifier and Type | Method and Description |
---|---|
Replication.Action |
objectAllocated(Document doc,
int oldRRV,
Optional<DominoException> status,
int objectSize)
Called exactly once for each object to provide the caller with information
about the object's size and ObjectID
|
Replication.Action objectAllocated(Document doc, int oldRRV, Optional<DominoException> status, int objectSize)
doc
- document containing the objectoldRRV
- Old Record Relocation Vectorstatus
- if not empty, contains any error that occurredobjectSize
- size of allocated objectReplication.Action.STOP
to stop reading document dataCopyright © 2019–2021 HCL. All rights reserved.