OperationsContext

A placeholder for the result of run invocations.

For example, this may be a completed operation, or perhaps it's the ID of a running operation - this would depend on the underlying operation that was invoked via the OperationsRunner implementation.

public interface OperationsContext

Types

OperationsContextValue
Link copied to clipboard

Marker interface for contextValue return value.

interface OperationsContextValue

Functions

contextKey
Link copied to clipboard

They operation context key. This may be used to identify the operations context value at a later point in time.

@Nonnull()
abstract String contextKey()
contextValue
Link copied to clipboard

The value of the operations context. May be an ID if the system is tracking the operations execution asynchronously, or it may be the result value of the operation.

@Nonnull()
abstract OperationsContext.OperationsContextValue contextValue()