public class RuntimeStateHandler extends AuditEventHandlerAdapter
| Modifier and Type | Field and Description | 
|---|---|
static String | 
PROPERTY_NAME_DISPOSED_OBJECT_CLEANUP_PERIOD
Handler property used to define the frequency of when to perform
 cleanup of disposed RuntimeState objects that have exceeded their
 retention period. 
 | 
static String | 
PROPERTY_NAME_DISPOSED_OBJECT_RETENTION_PERIOD
Handler property used to define the length of time to keep 
 disposed RuntimeState objects. 
 | 
DEFAULT_BATCHSIZE| Constructor and Description | 
|---|
RuntimeStateHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
cleanupDisposedRuntimeObjects(AuditEventHandlerContext context)
Cleanup disposed RuntimeObjects that have been retained longer than the
 specified retention period. 
 | 
void | 
handleInitialize(AuditEventHandlerContext context)
Initializes this handler. 
 | 
void | 
handleTimerExpired(AuditEventHandlerContext context)
Called when the timer for this AuditEventHandler expires. 
 | 
deleteEvents, getAuditHandlerSpecification, getAuditSpecification, getHandlerProperty, handleDispose, handleEventPosted, markProcessingCompleted, markProcessingStarted, processEvent, processEvents, processEvents, processEvents, selectEvents, selectEvents, selectMaximumEventId, setHandlerProperty, setProcessingStartedpublic static final String PROPERTY_NAME_DISPOSED_OBJECT_RETENTION_PERIOD
public static final String PROPERTY_NAME_DISPOSED_OBJECT_CLEANUP_PERIOD
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 handleTimerExpired(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapterhandleTimerExpired in interface AuditEventHandlerhandleTimerExpired in class AuditEventHandlerAdaptercontext - the AuditEventHandlerContext to use for processingException - if the operation failsprotected void cleanupDisposedRuntimeObjects(AuditEventHandlerContext context) throws IfsException
context - the AuditEventHandlerContext to use for processingIfsException - if the operation failsCopyright © 2025. All rights reserved.