Package org.forgerock.audit.batch
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.
-
-
Field Summary
Fields Modifier and Type Field Description static Duration
POLLING_INTERVAL
Common Audit Batch log records queue polling timeout asDuration
.static long
POLLING_TIMEOUT
Common Audit Batch log records queue polling timeout.static TimeUnit
POLLING_TIMEOUT_UNIT
Common Audit Batch log records queue polling timeout unit.
-
-
-
Field Detail
-
POLLING_TIMEOUT
public static final long POLLING_TIMEOUT
Common Audit Batch log records queue polling timeout. Details:CommonAuditBatchConfiguration
- See Also:
- Constant Field Values
-
POLLING_TIMEOUT_UNIT
public static final TimeUnit POLLING_TIMEOUT_UNIT
Common Audit Batch log records queue polling timeout unit. Details:CommonAuditBatchConfiguration
-
POLLING_INTERVAL
public static final Duration POLLING_INTERVAL
Common Audit Batch log records queue polling timeout asDuration
. Details:CommonAuditBatchConfiguration
-
-