Package com.sun.enterprise.v3.server
Class LifecycleModuleService.LifecycleModuleFuture
- java.lang.Object
-
- com.sun.enterprise.v3.server.LifecycleModuleService.LifecycleModuleFuture
-
-
Constructor Summary
Constructors Constructor Description LifecycleModuleFuture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Result<Thread>get()Result<Thread>get(long timeout, TimeUnit unit)booleanisCancelled()booleanisDone()voidsetResult(Result<Thread> result)
-
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceFuture<Result<Thread>>
-
get
public Result<Thread> get() throws InterruptedException
- Specified by:
getin interfaceFuture<Result<Thread>>- Throws:
InterruptedException
-
get
public Result<Thread> get(long timeout, TimeUnit unit) throws InterruptedException
- Specified by:
getin interfaceFuture<Result<Thread>>- Throws:
InterruptedException
-
-