java.lang.Object
org.elasticsearch.index.IndexingPressure.Incremental
- All Implemented Interfaces:
Closeable,AutoCloseable,Releasable
- Enclosing class:
IndexingPressure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longvoidincrement(int operations, long bytes) voidincrementUnparsedBytes(long bytes) split()longvoidtransferUnparsedBytesToParsed(long bytes)
-
Constructor Details
-
Incremental
public Incremental(boolean forceExecution)
-
-
Method Details
-
totalParsedBytes
public long totalParsedBytes() -
incrementUnparsedBytes
public void incrementUnparsedBytes(long bytes) -
transferUnparsedBytesToParsed
public void transferUnparsedBytesToParsed(long bytes) -
increment
public void increment(int operations, long bytes) -
currentOperationsSize
public long currentOperationsSize() -
maybeSplit
-
split
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceReleasable
-