org.elasticsearch.common.util.concurrent.RunOnce
All Implemented Interfaces:

public class RunOnce extends implements
Runnable that can only be run one time.
  • Constructor Summary

    Constructors
    Constructor
    Description
     delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    true if the RunOnce has been executed once.
    void
    run()
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • RunOnce

      public RunOnce( delegate)
  • Method Details

    • run

      public void run()
      Specified by:
       in interface 
    • hasRun

      public boolean hasRun()
      true if the RunOnce has been executed once.