public class EventExchangerAgent extends BaseAgent
IfsServer.ServerRequest
Modifier and Type | Field and Description |
---|---|
static String |
IFS_SERVER_EventLifespan |
static String |
IFS_SERVER_TIMER_ActivationPeriod |
static String |
IFS_SERVER_TIMER_InitialDelay |
static String |
IFS_SERVER_TIMER_InitialTimeOfDay |
static String |
PURGE_COUNT_CUMLATIVE |
static String |
PURGE_COUNT_LAST_ACTIVATION |
ERROR_COUNT_CUMULATIVE, ERROR_COUNT_LAST_ACTIVATION
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 |
---|
EventExchangerAgent()
Constructs the EventExchangerAgent.
|
Modifier and Type | Method and Description |
---|---|
protected void |
activate()
Purges old events.
|
IfsLogger |
getLogger()
Gets the appropriate logger for this server.
|
void |
initialize()
Initialize prior to running
|
protected void |
initOnRun()
called at beginning of run method for initialization.
|
static void |
main(String[] args)
This is used to run the EventExchanger Agent in the standalone mode.
|
addToProperty, handleResumeRequest, handleStopRequest, handleSuspendRequest, handleTimerExpired, incrementProperty, isAgent, postRun, processWithinRun, publishProperty, run, standardPostRun, 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, handlePropertyChangeRequest, handleRequest, handleRequests, handleServerStateControllerRequest, isNonCompeting, isPropertyReadonly, isServiceAvailable, isTimerActive, postCheckServerStateRequest, postRequest, preRun, processEvent, 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 static final String PURGE_COUNT_LAST_ACTIVATION
public static final String PURGE_COUNT_CUMLATIVE
public static final String IFS_SERVER_EventLifespan
public static final String IFS_SERVER_TIMER_ActivationPeriod
public static final String IFS_SERVER_TIMER_InitialTimeOfDay
public static final String IFS_SERVER_TIMER_InitialDelay
public EventExchangerAgent() throws IfsException
IfsException
- (IFS-46000) if the operation failspublic static void main(String[] args) throws Exception
Exception
public IfsLogger getLogger()
Typically overridden by subclasses to return the IfsLogger associatged with the specific server.
public void initialize() throws Exception
initialize
in class BaseAgent
Exception
- if the operation failsprotected void initOnRun() throws Exception
protected void activate() throws IfsException
activate
in class BaseAgent
IfsException
- if the operation failsCopyright © 2023. All rights reserved.