Package org.apache.ofbiz.base.concurrent
Class ConstantFuture<V>
java.lang.Object
org.apache.ofbiz.base.concurrent.ConstantFuture<V>
- All Implemented Interfaces:
Future<V>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ConstantFuture
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
get
-
get
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<V>
-
isDone
public boolean isDone()
-