Interface StorageDriverSelector

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Experimental @FunctionalInterface public interface StorageDriverSelector
Chooses which StorageDriver stores a given payload.
  • Method Summary

    Modifier and Type
    Method
    Description
    selectDriver(StorageDriverStoreContext context, io.temporal.api.common.v1.Payload payload)
    Returns the driver to store payload, which must be one of the drivers registered in the ExternalStorageOptions, or null to leave the payload stored inline.
  • Method Details

    • selectDriver

      @Nullable StorageDriver selectDriver(@Nonnull StorageDriverStoreContext context, @Nonnull io.temporal.api.common.v1.Payload payload)
      Returns the driver to store payload, which must be one of the drivers registered in the ExternalStorageOptions, or null to leave the payload stored inline.