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.
Chooses which
StorageDriver stores a given payload.-
Method Summary
Modifier and TypeMethodDescriptionselectDriver(StorageDriverStoreContext context, io.temporal.api.common.v1.Payload payload) Returns the driver to storepayload, which must be one of the drivers registered in theExternalStorageOptions, ornullto 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 storepayload, which must be one of the drivers registered in theExternalStorageOptions, ornullto leave the payload stored inline.
-