Class CommonAuditBatchConfiguration

java.lang.Object
org.forgerock.audit.batch.CommonAuditBatchConfiguration

public final class CommonAuditBatchConfiguration extends Object
This class stores the common audit logging batch process configurations. Asynchronous audit event handlers write events to a queue allowing the producer thread to return immediately rather than waiting for the audit event to be written to a file or socket. The queue is read by one or more consumer threads. When the queue is empty, these consumer threads go into a polling (blocked) state until a new event is added to the queue. In order to allow these consumer threads to be shutdown, when waiting for events to appear in the queue, these threads periodically awake to check for shutdown; by default, this period is set to 100ms.