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:BatchAdd a single serialized record- Specified by:
appendin interfaceBatch- Parameters:
json- serializedAuditEvent
-
count
public int count()Description copied from interface:BatchThe quantity of records currently in this batch -
name
Description copied from interface:BatchThe name of the batch representation. Governed by the implementation. For example,FileSystemBatchwill return the absolute path for the batch file as the name. -
unwrap
Description copied from interface:BatchReveal the core object representing the stored batch. For example,FileSystemBatchwill return thePathto the batch file whenunwrap(Path.class)is called.
-