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.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. -
getCancellationToken
Token cancelled when the SDK abandons this store operation. Defaults to a token that is never cancelled.
-