public class FolderIndexDispatchingHandler extends DispatchingHandler
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
FolderIndexDispatchingHandler.FolderIndexDispatchingHandlerState
FolderIndexDispatchingHandlerState extends the generic
 state used for dispatching handlers, to inject logic specific 
 to the FolderIndexDispatchingHandler. 
 | 
PROPERTY_DEFAULT_BATCHSIZE, PROPERTY_NAME_BATCHSIZE, PROPERTY_NAME_CONTINUOUS_WORKER_MODE_ENABLED, PROPERTY_NAME_DISPATCHINGHANDLERSPECIFICATION, PROPERTY_NAME_DYNAMIC_BATCHSIZE_ENABLED, PROPERTY_NAME_FORCE_RETRY_OF_FAILURES, PROPERTY_NAME_MAXIMUM_WORKER_QUEUE_SIZE, PROPERTY_NAME_PENDING_EVENTSET_NAMES, PROPERTY_NAME_PROCESS_EVENTS_WHEN_NEW_EVENT_POSTED, PROPERTY_NAME_PROCESS_EVENTS_WITH_TIMER, PROPERTY_NAME_REQUEUE_UPON_FAILURE, PROPERTY_NAME_RETRY_PHASE_PERIODS, PROPERTY_NAME_RETRY_UPON_FAILUREDEFAULT_BATCHSIZE| Constructor and Description | 
|---|
FolderIndexDispatchingHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected DispatchingHandlerState | 
constructDispatchingHandlerState()
Constructs the DispatchingHandlerState. 
 | 
void | 
handleTimerExpired(AuditEventHandlerContext context)
Called when the timer for this AuditEventHandler expires. 
 | 
protected void | 
initializeNonDynamicProperties(AuditEventHandlerContext context)
Initialize the member variables for the non-dynamic handler properties
 
 Any updates to these properties are not recognized by the handler while 
 it is running. 
 | 
protected void | 
processEvent(LibrarySession session,
            AuditEvent event,
            DispatchedEvent de)
Low-level processing of an event. 
 | 
protected void | 
refreshDynamicProperties(AuditEventHandlerContext context)
Refresh the member variables for the dynamic handler properties. 
 | 
addPendingEventSetName, checkDispatchingHandlerSpecificationRequests, checkForCompletedEventSets, checkForNewPendingEventSetName, completeEventSet, deriveDispatcherDynamicBatchSize, deriveWorkerDynamicBatchSize, determineDispatchingHandlerSpecification, getBatchSize, getCommonName, getDispatchingHandlerSpecification, getDispatchingHandlerState, getDynamicBatchSize, getEstimatedCost, getEventSetName, getMaximumWorkerQueueSize, getPendingEventSetNames, getRetryPhasePeriods, handleEventPosted, handleInitialize, hasAuxDispatchingHandlerSpecifications, incrementSkipCount, isContinuousWorkerModeEnabled, isDynamicBatchSizeEnabled, isForceRetryFailuresEnabled, isProcessEventsWhenNewEventPostedEnabled, isProcessEventsWithTimerEnabled, isRequeueUponFailureEnabled, isRetryUponFailureEnabled, markProcessingCompleted, processEvent, processEvents, processExistingDispatchedEvent, rebalanceActiveWorkers, rebalanceInactiveWorkers, rebalanceWorker, setForceRetryAllFailuresNextBatch, setForceRetryFailuresNextBatch, setProcessingStarteddeleteEvents, getAuditHandlerSpecification, getAuditSpecification, getHandlerProperty, handleDispose, markProcessingStarted, processEvents, processEvents, selectEvents, selectEvents, selectMaximumEventId, setHandlerPropertyprotected void initializeNonDynamicProperties(AuditEventHandlerContext context) throws IfsException
Any updates to these properties are not recognized by the handler while it is running.
initializeNonDynamicProperties in class DispatchingHandlercontext - the AuditEventHandlerContextIfsException - if the operation failsprotected void refreshDynamicProperties(AuditEventHandlerContext context) throws IfsException
Any updates to these properties are recognized by the handler at the next timer interval.
refreshDynamicProperties in class DispatchingHandlercontext - the AuditEventHandlerContextIfsException - if the operation failspublic void handleTimerExpired(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapterhandleTimerExpired in interface AuditEventHandlerhandleTimerExpired in class DispatchingHandlercontext - the AuditEventHandlerContext to use for processingException - if the operation failsprotected DispatchingHandlerState constructDispatchingHandlerState() throws IfsException
DispatchingHandlerThis is typically overridden by subclasses that wish to add custom dispatching logic.
constructDispatchingHandlerState in class DispatchingHandlerIfsException - if the opertation failsprotected void processEvent(LibrarySession session, AuditEvent event, DispatchedEvent de) throws IfsException
DispatchingHandlerprocessEvent in class DispatchingHandlersession - the session Context to use for processingevent - the event to processde - the associated DispatchedEventIfsException - if the operation failsCopyright © 2025. All rights reserved.