Class MaxRamBulkOperationBuffer
java.lang.Object
com.atlassian.confluence.plugins.opensearch.bulk.MaxRamBulkOperationBuffer
- All Implemented Interfaces:
- BulkOperationBuffer
Applies automatic flush to a delegate 
BulkOperationBuffer so that it does not exceed the specified RAM limit (MB).- Since:
- 9.0
- 
Constructor Details- 
MaxRamBulkOperationBuffer
 
- 
- 
Method Details- 
addDescription copied from interface:BulkOperationBufferAdd a bulk operation to the buffer. Adding an operation might trigger a flush depending on the implementation.- Specified by:
- addin interface- BulkOperationBuffer
- Parameters:
- op- The operation to add to the buffer
- Throws:
- IOException
 
- 
flushDescription copied from interface:BulkOperationBufferSend all pending bulk operations in the buffer to OpenSearch bulk API- Specified by:
- flushin interface- BulkOperationBuffer
- Throws:
- IOException
 
- 
getDelegate
- 
getLimitMBpublic double getLimitMB()
 
-