public interface ActivationManager extends Service, ActivationManagerTypes
Activation tracking/management service.
An activation describes a method invocation in the runtime.
_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String activationId)
Asks for cancellation of a running activation.
|
void |
cancel(String activationId,
AsyncCallback<Void> asyncCallback)
Asks for cancellation of a running activation.
|
void |
cancel(String activationId,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Asks for cancellation of a running activation.
|
void |
cancel(String activationId,
InvocationConfig invocationConfig)
Asks for cancellation of a running activation.
|
void cancel(String activationId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
activationId - activation identifierNotFound - there is no activation with the specified idvoid cancel(String activationId, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
activationId - activation identifierinvocationConfig - Configuration for the method invocation.NotFound - there is no activation with the specified idvoid cancel(String activationId, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
NotFound - there is no activation with the specified id
activationId - activation identifierasyncCallback - Receives the status (progress, result or error) of the operation invocation.void cancel(String activationId, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
NotFound - there is no activation with the specified id
activationId - activation identifierasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.Copyright © 2022. All rights reserved.