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 boolean
cancel(boolean mayInterruptIfRunning)
Result<Thread>
get()
Result<Thread>
get(long timeout, TimeUnit unit)
boolean
isCancelled()
boolean
isDone()
void
setResult(Result<Thread> result)
-
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceFuture<Result<Thread>>
-
get
public Result<Thread> get() throws InterruptedException
- Specified by:
get
in interfaceFuture<Result<Thread>>
- Throws:
InterruptedException
-
get
public Result<Thread> get(long timeout, TimeUnit unit) throws InterruptedException
- Specified by:
get
in interfaceFuture<Result<Thread>>
- Throws:
InterruptedException
-
-