-
public interface PersistenceStrategy.FactoryA factory used to create an instance of a PersistenceStrategy.
Each instance of a persistence strategy should have independent storage. Data written to one instance must not be readable from another one.
-
-
Method Summary
Modifier and Type Method Description abstract PersistenceStrategycreate(String identifier, Integer maxItemsPerBatch, Long maxBatchSize)Creates an instance of a PersistenceStrategy. -
-
Method Detail
-
create
abstract PersistenceStrategy create(String identifier, Integer maxItemsPerBatch, Long maxBatchSize)
Creates an instance of a PersistenceStrategy.
- Parameters:
identifier- the identifier for the persistence strategy.maxItemsPerBatch- the maximum number of individual events in a batchmaxBatchSize- the maximum size (in bytes) of a complete batch
-
-
-
-