com.sun.enterprise.v3.server
Class LifecycleModuleService.LifecycleModuleFuture
java.lang.Object
com.sun.enterprise.v3.server.LifecycleModuleService.LifecycleModuleFuture
- All Implemented Interfaces:
- Future<Result<Thread>>
- Enclosing class:
- LifecycleModuleService
public static final class LifecycleModuleService.LifecycleModuleFuture
- extends Object
- implements Future<Result<Thread>>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleModuleService.LifecycleModuleFuture
public LifecycleModuleService.LifecycleModuleFuture()
setResult
public void setResult(Result<Thread> result)
cancel
public boolean cancel(boolean mayInterruptIfRunning)
- Specified by:
cancel in interface Future<Result<Thread>>
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled in interface Future<Result<Thread>>
isDone
public boolean isDone()
- Specified by:
isDone in interface Future<Result<Thread>>
get
public Result<Thread> get()
throws InterruptedException
- Specified by:
get in interface Future<Result<Thread>>
- Throws:
InterruptedException
get
public Result<Thread> get(long timeout,
TimeUnit unit)
throws InterruptedException
- Specified by:
get in interface Future<Result<Thread>>
- Throws:
InterruptedException
Copyright © 2012. All Rights Reserved.