Package org.forgerock.audit.batch
Class CommonAuditBatchConfiguration
java.lang.Object
org.forgerock.audit.batch.CommonAuditBatchConfiguration
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.
-
Field Summary
-
Method Summary
-
Field Details
-
POLLING_TIMEOUT
public static final long POLLING_TIMEOUTCommon Audit Batch log records queue polling timeout. Details:CommonAuditBatchConfiguration
- See Also:
-
POLLING_TIMEOUT_UNIT
Common Audit Batch log records queue polling timeout unit. Details:CommonAuditBatchConfiguration
-
POLLING_INTERVAL
Common Audit Batch log records queue polling timeout asDuration
. Details:CommonAuditBatchConfiguration
-