public class FolderIndexAgent extends ClusteredServer implements IfsEventHandler
IfsServer.ServerRequestLEVEL_HIGH, LEVEL_LOW, LEVEL_MEDIUM, LEVEL_OFFSERVERSTATUS_DISPOSED, SERVERSTATUS_RUNNING, SERVERSTATUS_STARTING, SERVERSTATUS_STOPPED, SERVERSTATUS_STOPPING, SERVERSTATUS_SUSPENDED, SERVERSTATUS_UNKNOWN| Constructor and Description |
|---|
FolderIndexAgent()
Constructs the FolderIndexAgent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableEventListening()
Disable listening for events on the FolderIndex propertybundle
|
void |
enableEventListening()
Enable listening events on the Folder Index propertyBundle
|
IfsLogger |
getLogger()
Gets the appropriate logger for this server.
|
void |
handleEvent(IfsEvent event)
Handles events.
|
protected void |
handleResumeRequest()
handle the resume request.
|
protected void |
handleSuspendRequest()
handle the suspend request.
|
protected void |
handleTimerExpired()
Handles a timer expiration.
|
void |
initialize()
Perform one time initialization tasks upon loading.
|
boolean |
isAgent()
Gets whether this Server is an agent.
|
static void |
main(String[] args)
Runs the FolderIndexAgent in standalone mode.
|
void |
postRun()
Performs post-run tasks for this FolderIndexAgent.
|
void |
processEvent(IfsEvent event)
Process the next event
|
void |
run()
Runs this agent.
|
boolean |
supportsSuspendResume()
Gets whether suspend/resume is supported.
|
cancelRegistration, checkRegistration, deriveAgentIdentifier, deriveRunningServerIdentifier, getAgentIdentifier, getAgentIdentifierPrefix, getRegistrationPeriod, getRunningNodeIdentifier, getRunningNodeName, getRunningServerIdentifier, initializeRegistration, isRegistered, isServerRunning, isTokenNonCompetingcheckSession, connectSession, constructSession, convertTimerInterval, convertTimerInterval, convertTimerInterval, dispose, getLastTimerActivation, getNextTimerActivation, getService, getTimerActivationPeriod, getTimerClassName, getTimerConfiguration, handlePriorityChangeRequest, handlePropertyChangeRequest, handlePropertyChangeRequest, handleRequest, handleRequests, handleServerStateControllerRequest, handleStopRequest, isNonCompeting, isPropertyReadonly, isServiceAvailable, isTimerActive, postCheckServerStateRequest, postRequest, preRun, processEvents, queueEvent, resetTimer, restart, resume, serviceAvailabilityCheckNeeded, setPriority, setProperty, setProperty, start, startTimer, stop, stopRequested, stopTimer, suspend, timerExpired, waitForServiceAvailability, waitServeracquireSession, 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, verifyNotDisposedpublic FolderIndexAgent()
throws IfsException
IfsException - (IFS-46000) if the operation failspublic static void main(String[] args) throws Exception
args - the command line argumentsException - if the operation failspublic IfsLogger getLogger()
Typically overridden by subclasses to return the IfsLogger associatged with the specific server.
public void initialize()
throws Exception
initialize in class IfsServerIfsException - (IFS-46xxx) if the operation failsException - if the operation failspublic boolean isAgent()
throws IfsException
This method is called by iFS administration tools to group together servers that are agents in administration user interfaces.
isAgent in interface ServerInterfaceisAgent in class ServerIfsException - (IFS-45178) if the operation failspublic void postRun()
public boolean supportsSuspendResume()
supportsSuspendResume in interface ServerInterfacesupportsSuspendResume in class Serverprotected void handleSuspendRequest()
throws Exception
handleSuspendRequest in class IfsServerIfsException - if operation failsException - if the operation failsprotected void handleResumeRequest()
throws Exception
handleResumeRequest in class IfsServerIfsException - if operation failsException - if the operation failsprotected void handleTimerExpired()
throws Exception
handleTimerExpired in class IfsServerException - if operation failspublic void enableEventListening()
throws IfsException
IfsExceptionpublic void disableEventListening()
throws IfsException
IfsExceptionpublic void handleEvent(IfsEvent event) throws IfsException
handleEvent in interface IfsEventHandlerevent - the eventIfsException - if the operation failspublic void processEvent(IfsEvent event) throws IfsException
processEvent in class IfsServerevent - The next event to process.IfsException - if the operation failsCopyright © 2025. All rights reserved.