java.lang.Object
org.elasticsearch.index.IndexingPressure.Coordinating
- All Implemented Interfaces:
Closeable,AutoCloseable,Releasable
- Enclosing class:
IndexingPressure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidincrement(int operations, long bytes) voidreduceBytes(long bytes) Reduces the tracked byte count for this coordinating operation without closing it.
-
Constructor Details
-
Coordinating
public Coordinating(boolean forceExecution)
-
-
Method Details
-
increment
public void increment(int operations, long bytes) -
reduceBytes
public void reduceBytes(long bytes) Reduces the tracked byte count for this coordinating operation without closing it. Use this to lower a reservation once the actual size is known to be smaller than the initially reserved amount. -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceReleasable
-