Class RunOnce
org.elasticsearch.common.util.concurrent.RunOnce
- All Implemented Interfaces:
public class RunOnce
extends
implements
Runnable that can only be run one time.
-
Constructor Summary
ConstructorDescriptiondelegate)
-
Method Summary
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 theRunOnce
has been executed once.
-