public class DatabaseManagementAgent extends MultipleTimerAgent
Modifier and Type | Class and Description |
---|---|
class |
DatabaseManagementAgent.AnalyzeTask
A AnalyzeTask is a MultipleTimerTask that performs database
analyze tasks.
|
MultipleTimerAgent.MultipleTimerTask
IfsServer.ServerRequest
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 |
---|
DatabaseManagementAgent()
Constructs the DatabaseManagementAgent.
|
Modifier and Type | Method and Description |
---|---|
IfsLogger |
getLogger()
Gets the appropriate logger for this server.
|
protected void |
handleTimerExpired()
Handles a timer expiration.
|
void |
initialize()
Perform initialization duties upon loading.
|
boolean |
isPropertyReadonly(String name)
Returns indication as to whether the specified property is readonly.
|
static void |
main(String[] args)
This is used to run the DatabaseManagementAgent in the standalone mode.
|
void |
performAnalyze(LibrarySession session)
Execute the ANALYZE action.
|
protected void |
registerTasks()
Register the timer tasks.
|
activate, handleRequest, initOnRun, postRun, registerTimerTask
addToProperty, handleResumeRequest, handleStopRequest, handleSuspendRequest, incrementProperty, isAgent, 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, handleRequests, handleServerStateControllerRequest, isNonCompeting, 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 DatabaseManagementAgent() throws IfsException
IfsException
- if the operation failspublic static void main(String[] args) throws Exception
Exception
- if the operation failspublic IfsLogger getLogger()
Typically overridden by subclasses to return the IfsLogger associatged with the specific server.
getLogger
in class MultipleTimerAgent
public void initialize() throws Exception
initialize
in class BaseAgent
IfsException
- (IFS-46xxx) if the operation failsException
- if the operation failsprotected void handleTimerExpired() throws Exception
handleTimerExpired
in class BaseAgent
Exception
- if operation failspublic boolean isPropertyReadonly(String name) throws IfsException
isPropertyReadonly
in interface ServerInterface
isPropertyReadonly
in class IfsServer
name
- name of the propertyIfsException
- if the operation failsprotected void registerTasks() throws IfsException
registerTasks
in class MultipleTimerAgent
IfsException
- if operation failspublic void performAnalyze(LibrarySession session) throws IfsException
session
- the session contextIfsException
- if operation failsCopyright © 2023. All rights reserved.