Class FileSystemStorageProvider
java.lang.Object
com.broadleafcommerce.common.audit.batch.FileSystemStorageProvider
- All Implemented Interfaces:
StorageProvider
File system version of
StorageProvider-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileSystemStorageProvider
-
-
Method Details
-
newBatch
Description copied from interface:StorageProviderCreate a newBatchstorage representation- Specified by:
newBatchin interfaceStorageProvider- Returns:
- new
Batchstorage representation
-
completeBatch
Description copied from interface:StorageProviderComplete aBatchto its completion state- Specified by:
completeBatchin interfaceStorageProvider- Parameters:
batch- TheBatchstorage representation to complete- Returns:
- The completed
Batchrepresentation
-
review
Description copied from interface:StorageProviderPreview all completed batches as a stream ofBatchinstances. The stream is automatically closed once the consumer exits.- Specified by:
reviewin interfaceStorageProvider- Parameters:
consumer- A consumer receiving a stream of paths for review
-
nextIngestionBatch
Description copied from interface:StorageProviderGrab the next available completed batch from storage for ingestion.- Specified by:
nextIngestionBatchin interfaceStorageProvider- Returns:
- The next available completed batch from storage. Null if none available.
-