| Constructor and Description |
|---|
ServiceTerminatingCallable(org.apache.hadoop.service.Service owner,
Callable<V> callable)
Create an instance.
|
| Modifier and Type | Method and Description |
|---|---|
V |
call()
Delegates the call to the callable supplied in the constructor,
then calls the stop() operation on its owner.
|
Exception |
getException()
Any exception raised by inner
action's run. |
org.apache.hadoop.service.Service |
getOwner()
Get the owning service
|
public org.apache.hadoop.service.Service getOwner()
public Exception getException()
action's run.Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.