Class EngineTestCase.PrimaryTermSupplier

java.lang.Object
org.elasticsearch.index.engine.EngineTestCase.PrimaryTermSupplier
All Implemented Interfaces:
java.util.function.LongSupplier
Enclosing class:
EngineTestCase

public static final class EngineTestCase.PrimaryTermSupplier
extends java.lang.Object
implements java.util.function.LongSupplier
  • Method Summary

    Modifier and Type Method Description
    long get()  
    long getAsLong()  
    void set​(long newTerm)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • get

      public long get()
    • set

      public void set​(long newTerm)
    • getAsLong

      public long getAsLong()
      Specified by:
      getAsLong in interface java.util.function.LongSupplier