public class CrawlerHandler extends AuditEventHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME_ALERT_TABLE_SUFFIX
Audit spec property used to capture the alert table suffix.
|
static String |
PROPERTY_NAME_AUDIT_EVENT_BATCH_SIZE
Audit spec property used to capture audit event (selection) batch size.
|
static String |
PROPERTY_NAME_GRANTEE
Audit spec property used to capture schema (grantee) that should be
granted access to crawler views and alert table.
|
static String |
PROPERTY_NAME_JDBC_BATCH_SIZE
Audit spec property used to capture JDBC batch size (alert table inserts)
|
static String |
PROPERTY_NAME_PERFORM_CONFIGURATION
Audit spec property used to track whether this particular crawler handler
instance requires configuration.
|
DEFAULT_BATCHSIZE| Constructor and Description |
|---|
CrawlerHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEventPosted(AuditEventHandlerContext context)
Called when at least one registered event is posted.
|
void |
handleInitialize(AuditEventHandlerContext context)
Initializes this handler.
|
void |
handleTimerExpired(AuditEventHandlerContext context)
Called when the timer for this AuditEventHandler expires.
|
deleteEvents, getAuditHandlerSpecification, getAuditSpecification, getHandlerProperty, handleDispose, markProcessingCompleted, markProcessingStarted, processEvent, processEvents, processEvents, processEvents, selectEvents, selectEvents, selectMaximumEventId, setHandlerProperty, setProcessingStartedpublic static final String PROPERTY_NAME_PERFORM_CONFIGURATION
public static final String PROPERTY_NAME_GRANTEE
public static final String PROPERTY_NAME_AUDIT_EVENT_BATCH_SIZE
public static final String PROPERTY_NAME_JDBC_BATCH_SIZE
public static final String PROPERTY_NAME_ALERT_TABLE_SUFFIX
public void handleInitialize(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapterCalled immediately after construction.
handleInitialize in interface AuditEventHandlerhandleInitialize in class AuditEventHandlerAdaptercontext - the AuditEventHandlerContext to use for processingException - if the operation failspublic void handleEventPosted(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapterhandleEventPosted in interface AuditEventHandlerhandleEventPosted in class AuditEventHandlerAdaptercontext - the AuditEventHandlerContext to use for processingException - if the operation failspublic void handleTimerExpired(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapterhandleTimerExpired in interface AuditEventHandlerhandleTimerExpired in class AuditEventHandlerAdaptercontext - the AuditEventHandlerContext to use for processingException - if the operation failsCopyright © 2025. All rights reserved.