public class ManualTextIndexingAgent extends RetainedEventAgent
IfsServer.ServerRequest
LEVEL_HIGH, LEVEL_LOW, LEVEL_MEDIUM, LEVEL_OFF
SERVERSTATUS_DISPOSED, SERVERSTATUS_RUNNING, SERVERSTATUS_STARTING, SERVERSTATUS_STOPPED, SERVERSTATUS_STOPPING, SERVERSTATUS_SUSPENDED, SERVERSTATUS_UNKNOWN
Constructor and Description |
---|
ManualTextIndexingAgent()
Constructs the ManualTextIndexingAgent.
|
Modifier and Type | Method and Description |
---|---|
void |
disableEventListening()
Disable listening for events on the ContentObject class.
|
void |
enableEventListening()
Enable listening events on ContentObject class.
|
protected String |
getBatchSizePropertyName()
Get the name of the property used to specify the event batch size.
|
protected String |
getEventTargetKey()
Get the event target key used for this agent.
|
IfsLogger |
getLogger()
Gets the appropriate logger for this server.
|
protected RetainedEvent |
getRetainedEventSeed()
Gets the retained event "seed" to select the appropriate type
of retained events.
|
protected String |
getRetryAttemptsPropertyName()
Get the name of the property used to specify the number of
times to retry process an event in case of failure.
|
void |
initialize()
Perform one time initialization tasks upon loading.
|
static void |
main(String[] args)
This is used to run the ManualTextIndexingAgent in the standalone mode.
|
getBatchSize, getRetryAttempts, handleEvent, handlePropertyChangeRequest, handleResumeRequest, handleStopRequest, handleSuspendRequest, handleTimerExpired, isAgent, isPropertyReadonly, postProcessRetainedEvents, postRun, preBatchProcessing, processEvent, processRetainedEvent, run, supportsSuspendResume
cancelRegistration, checkRegistration, deriveAgentIdentifier, deriveRunningServerIdentifier, getAgentIdentifier, getAgentIdentifierPrefix, getRegistrationPeriod, getRunningNodeIdentifier, getRunningNodeName, getRunningServerIdentifier, initializeRegistration, isRegistered, isServerRunning, isTokenNonCompeting
checkSession, connectSession, constructSession, convertTimerInterval, convertTimerInterval, convertTimerInterval, dispose, getLastTimerActivation, getNextTimerActivation, getService, getTimerActivationPeriod, getTimerClassName, getTimerConfiguration, handlePriorityChangeRequest, handlePropertyChangeRequest, handleRequest, handleRequests, handleServerStateControllerRequest, isNonCompeting, isServiceAvailable, isTimerActive, postCheckServerStateRequest, postRequest, preRun, processEvents, queueEvent, resetTimer, restart, resume, serviceAvailabilityCheckNeeded, setPriority, setProperty, setProperty, start, startTimer, stop, stopRequested, stopTimer, suspend, timerExpired, waitForServiceAvailability, waitServer
acquireSession, constructLibrarySessionPool, createServerState, deregister, disconnectSession, getConfigurationOverridesTable, getConfigurationTable, getCredential, getDesiredStatus, getIfsHome, getInitialConfigurationTable, getLoggerForLegacyLogging, getName, getNode, getNodeName, getOracleHome, getParameterTable, getPriority, getProperties, getProperty, getServerConfigurationName, getServerState, getServerStateValue, getServerType, getServiceName, getSession, getStateTable, getStatus, getSystemUserCredential, handleServerConfigurationOverrideRequest, handleServerStateEvent, initialize, initialize, isDisposed, isInitialized, isLogged, log, log, log, releaseSession, releaseSession, setDesiredStatus, setDesiredStatus, setSessionTimeoutPrevented, setStateProperty, setStatus, startStandalone, startStandalone, supportsPriority, toStatusLabel, toStatusLabel, toStatusLabel, verifyNotDisposed, verifyNotDisposed
public ManualTextIndexingAgent() throws IfsException
IfsException
- if the operation failspublic static void main(String[] args) throws Exception
args
- command line argsException
- if the operation failspublic IfsLogger getLogger()
Typically overridden by subclasses to return the IfsLogger associatged with the specific server.
getLogger
in class RetainedEventAgent
public void initialize() throws Exception
initialize
in class RetainedEventAgent
Exception
- if the operation failsprotected RetainedEvent getRetainedEventSeed()
getRetainedEventSeed
in class RetainedEventAgent
protected String getEventTargetKey()
getEventTargetKey
in class RetainedEventAgent
protected String getBatchSizePropertyName()
getBatchSizePropertyName
in class RetainedEventAgent
protected String getRetryAttemptsPropertyName()
getRetryAttemptsPropertyName
in class RetainedEventAgent
public void enableEventListening() throws IfsException
enableEventListening
in class RetainedEventAgent
IfsException
- if the operation failspublic void disableEventListening() throws IfsException
disableEventListening
in class RetainedEventAgent
IfsException
- if the operation failsCopyright © 2023. All rights reserved.