Public Member Functions | |
String | checkState () |
T | getResource () |
String | getResourceName () |
Package Functions | |
ComponentChecker (T comp) | |
Private Attributes | |
final T | comp |
String | compName |
ResourceChecker
for ACS components. Calls ACSComponentOperations#componentState() to determine responsiveness and state of the component resource.
|
This method tries to connect to the monitored resource and check its state if applicable. If this call does not return within a certain time, then resource unavailability will be assumed.
Implements alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ResourceChecker< T >.
|
|
|
|
Implements alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ResourceChecker< T >.
|
|
Returns a name that identifies the resource. The name is used for log messages. It should be unique within a master component, although currently no use is made of uniqueness. Implements alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ResourceChecker< T >.
|
|
|
|
We keep the component name separately because later when there are problems it may no longer be possible to obtain it remotely. |