Interface StorageDriverStoreContext
Context passed to
StorageDriver.store(io.temporal.payload.storage.StorageDriverStoreContext, java.util.List<io.temporal.api.common.v1.Payload>) and StorageDriverSelector.
The SDK supplies the instance a driver receives. Members added here in later releases will carry a default, so an existing driver-side implementation keeps compiling and behaves as though the new member were absent.
-
Method Summary
Modifier and TypeMethodDescriptiondefault CancellationToken<CancellationException> Token cancelled when the SDK abandons this store operation.default StringNamespace of the client or worker performing the store, ornullwhen it is not available.Identity of the workflow or activity the payload is being stored for, ornullwhen it is not available.
-
Method Details
-
getTarget
Identity of the workflow or activity the payload is being stored for, ornullwhen it is not available. -
getNamespace
Namespace of the client or worker performing the store, ornullwhen it is not available. Defaults tonull. -
getCancellationToken
Token cancelled when the SDK abandons this store operation. Defaults to a token that is never cancelled.
-