public final class FutureServiceValue<T> extends Object implements Future<T>
| Constructor and Description |
|---|
FutureServiceValue(org.jboss.msc.service.ServiceController<T> controller) |
FutureServiceValue(org.jboss.msc.service.ServiceController<T> controller,
org.jboss.msc.service.ServiceController.State state) |
public FutureServiceValue(org.jboss.msc.service.ServiceController<T> controller)
public FutureServiceValue(org.jboss.msc.service.ServiceController<T> controller, org.jboss.msc.service.ServiceController.State state)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<T>public T get() throws ExecutionException
get in interface Future<T>ExecutionExceptionpublic T get(long timeout, TimeUnit unit) throws ExecutionException, TimeoutException
get in interface Future<T>ExecutionExceptionTimeoutExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.