public abstract class DefaultLocalBulkBuffer extends Object implements LocalBulkBuffer
| Constructor and Description |
|---|
DefaultLocalBulkBuffer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBulkBuffer(Object o)
Add the object to the bulk buffer attached to the executing thread.
|
void |
clearBulkBuffer()
Clears the bulk buffer attached the the executing thread.
|
List<DocumentOperationResult> |
flushBulkBuffer()
Sends the bulk buffer attached the the executing thread to the database (through a executeBulk call).
|
protected abstract BulkExecutor<Collection<?>> |
getBulkExecutor() |
boolean |
isAllOrNothing() |
void |
setAllOrNothing(boolean allOrNothing) |
public void addToBulkBuffer(Object o)
LocalBulkBufferaddToBulkBuffer in interface LocalBulkBufferpublic void clearBulkBuffer()
LocalBulkBufferclearBulkBuffer in interface LocalBulkBufferpublic List<DocumentOperationResult> flushBulkBuffer()
LocalBulkBufferflushBulkBuffer in interface LocalBulkBufferprotected abstract BulkExecutor<Collection<?>> getBulkExecutor()
public boolean isAllOrNothing()
public void setAllOrNothing(boolean allOrNothing)
Copyright © 2017. All rights reserved.