Class IndexingPressure.Coordinating

java.lang.Object
org.elasticsearch.index.IndexingPressure.Coordinating
All Implemented Interfaces:
Closeable, AutoCloseable, Releasable
Enclosing class:
IndexingPressure

public class IndexingPressure.Coordinating extends Object implements Releasable
  • 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:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface Releasable