Hi All,
I have made recent pushes which enables batch processing in Audit4j,
Below api method is added to the Audit manager to submit batches. Batches are represented by the
EventBatch.
public boolean audit(EventBatch batch) { }
if the batchSize command is enabled, Simple Audit Events are automatically incorporated in to batches and propagated to the Handlers.
I have deprecated the previous handle() method in the
Handler class and added three new handle() methods with different arguments. I tough of having three method with different arguments is way better than the single handler method which getting data from Getter method.
This and
this test classes can be used to test batch processing.
I would appreciate hearing your thoughts on this. :)
Regards,
Janith