public class AclIndexAgent extends ClusteredServer implements IfsEventHandler
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 |
---|
AclIndexAgent()
Constructs the AclIndexAgent.
|
Modifier and Type | Method and Description |
---|---|
void |
disableEventListening()
Disable listening for events on the ACL Index propertybundle.
|
void |
enableEventListening()
Enable listening events on the ACL 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 AclIndexAgent in standalone mode.
|
void |
postRun()
Performs post-run tasks for this AclIndexAgent.
|
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, isTokenNonCompeting
checkSession, 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, 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 AclIndexAgent() 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 IfsServer
IfsException
- (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 ServerInterface
isAgent
in class Server
IfsException
- (IFS-45178) if the operation failspublic void postRun()
public boolean supportsSuspendResume()
supportsSuspendResume
in interface ServerInterface
supportsSuspendResume
in class Server
protected void handleSuspendRequest() throws Exception
handleSuspendRequest
in class IfsServer
IfsException
- if operation failsException
- if the operation failsprotected void handleResumeRequest() throws Exception
handleResumeRequest
in class IfsServer
Exception
- if operation failsprotected void handleTimerExpired() throws Exception
handleTimerExpired
in class IfsServer
Exception
- if operation failspublic void enableEventListening() throws IfsException
IfsException
- if operation failspublic void disableEventListening() throws IfsException
IfsException
- if operation failspublic void handleEvent(IfsEvent event) throws IfsException
handleEvent
in interface IfsEventHandler
event
- the eventIfsException
- if operation failspublic void processEvent(IfsEvent event) throws IfsException
processEvent
in class IfsServer
event
- The next event to process.IfsException
- if the operation failsCopyright © 2023. All rights reserved.