Class FileSystemBatch
java.lang.Object
com.broadleafcommerce.common.audit.batch.FileSystemBatch
- All Implemented Interfaces:
Batch
File system version of
Batch
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileSystemBatch
-
-
Method Details
-
append
Description copied from interface:Batch
Add a single serialized record- Specified by:
append
in interfaceBatch
- Parameters:
json
- serializedAuditEvent
-
count
public int count()Description copied from interface:Batch
The quantity of records currently in this batch -
name
Description copied from interface:Batch
The name of the batch representation. Governed by the implementation. For example,FileSystemBatch
will return the absolute path for the batch file as the name. -
unwrap
Description copied from interface:Batch
Reveal the core object representing the stored batch. For example,FileSystemBatch
will return thePath
to the batch file whenunwrap(Path.class)
is called.
-