Package com.nt.udc.osanode
Class OSANode
java.lang.Object
com.nt.udc.osanode.OSANode
- All Implemented Interfaces:
AdminIfc,OSARemoteAdminIfc
- Direct Known Subclasses:
OSAOiNode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidClears the status table for this nodevoidprotected booleanRetrieves record statistics for this node.protected OSAR[]getOSARs()ReturnsnullRetrieves the most recent, worst status for this nodevoidbooleanprotected booleanvoidreconfig()voidCallsOSARemoteAdminIfc.reconfig()voidshutdown()Stops node processingprotected voidvoidstartup()Call that starts a node.protected booleanprotected booleanstoreOSARs(OSAR[] osars)
-
Field Details
-
logger
-
config
-
narRouter
-
processingInterval
protected long processingInterval -
configFile
-
configDir
-
inputDir
-
outputDir
-
scratchDir
-
backupDir
-
logDir
-
nodeid
-
shutdown
protected boolean shutdown -
NODEINIT
-
NODERECONFIG
-
-
Constructor Details
-
OSANode
- Throws:
NodeStartException
-
-
Method Details
-
initialize
public void initialize()- Specified by:
initializein interfaceAdminIfc
-
isShutdown
protected boolean isShutdown() -
getOSARs
-
deleteOSARs
protected boolean deleteOSARs() -
storeOSAR
-
storeOSARs
-
shutdown
public void shutdown()Description copied from interface:AdminIfcStops node processing- Specified by:
shutdownin interfaceAdminIfc- Specified by:
shutdownin interfaceOSARemoteAdminIfc
-
shuttingDown
protected void shuttingDown() -
clearStatus
-
clearStatus
public void clearStatus()Description copied from interface:AdminIfcClears the status table for this node- Specified by:
clearStatusin interfaceAdminIfc- Specified by:
clearStatusin interfaceOSARemoteAdminIfc
-
getStatus
Description copied from interface:AdminIfcRetrieves the most recent, worst status for this node- Specified by:
getStatusin interfaceAdminIfc- Specified by:
getStatusin interfaceOSARemoteAdminIfc- Returns:
- StatusMessage reflecting the most recent, worst status for this node.
-
checkInputDir
protected boolean checkInputDir() -
reconfig
public void reconfig()- Specified by:
reconfigin interfaceOSARemoteAdminIfc
-
isReconfigPending
public boolean isReconfigPending()- Specified by:
isReconfigPendingin interfaceOSARemoteAdminIfc
-
reconfigure
CallsOSARemoteAdminIfc.reconfig()- Specified by:
reconfigurein interfaceAdminIfc- Throws:
NodeStartException
-
startup
Call that starts a node. Default implementation is empty.- Specified by:
startupin interfaceAdminIfc- Throws:
NodeStartException
-
getPerformanceMetrics
Returnsnull- Specified by:
getPerformanceMetricsin interfaceAdminIfc- Returns:
- Object representing the performance information for this node
-
getAndResetRecordStatistics
Description copied from interface:AdminIfcRetrieves record statistics for this node. (Record statistics are different from performance information, in that the record statistics get reset to 0 periodically, usually every hour.)- Specified by:
getAndResetRecordStatisticsin interfaceAdminIfc- Returns:
- An object that contains the statistics for the previous polling period.
-