com.sun.enterprise.v3.server
Class LifecycleModuleService.LifecycleModuleFuture

java.lang.Object
  extended by 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>>


Constructor Summary
LifecycleModuleService.LifecycleModuleFuture()
           
 
Method Summary
 boolean cancel(boolean mayInterruptIfRunning)
           
 Result<Thread> get()
           
 Result<Thread> get(long timeout, TimeUnit unit)
           
 boolean isCancelled()
           
 boolean isDone()
           
 void setResult(Result<Thread> result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleModuleService.LifecycleModuleFuture

public LifecycleModuleService.LifecycleModuleFuture()
Method Detail

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.