T
- the result type.public abstract class DistributedCommand<T> extends Object implements DistributedCallable<T>
DistributedCallable
's that do not support
monitoring/partial results.Constructor and Description |
---|
DistributedCommand() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
execute(DistributedCallableContext ctx)
Subclasses must override to provide an execution implementation
|
MonitoredCallable<T> |
init(DistributedCallableContext ctx)
Implementation of init that returns a callable whose
call
method invokes execute(DistributedCallableContext) . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
merge
public final MonitoredCallable<T> init(DistributedCallableContext ctx)
call
method invokes execute(DistributedCallableContext)
.init
in interface DistributedCallable<T>
ctx
- a remote context from which the callable can obtain its distributed identity, etc.protected abstract T execute(DistributedCallableContext ctx) throws Exception
ctx
- the context that was passed to init(DistributedCallableContext)
.Exception
- if an exception occurred while processingCopyright © 2016 Actian Corporation. All rights reserved.