Interface StorageDriverRetrieveContext


@Experimental public interface StorageDriverRetrieveContext
Context passed to StorageDriver.retrieve(io.temporal.payload.storage.StorageDriverRetrieveContext, java.util.List<io.temporal.payload.storage.StorageDriverClaim>).

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 Details

    • getCancellationToken

      @Nonnull default CancellationToken<CancellationException> getCancellationToken()
      Token cancelled when the SDK abandons this retrieve operation. Defaults to a token that is never cancelled.