
Public Member Functions | |
| String | checkState () |
| T | getResource () |
| String | getResourceName () |
Encapsulates the details of a particular resource, so that all resources (components, offshoots, databases, ...) can be monitored in the same way.
| <T> | The type of the resource object, for example an ACS component type |
| String alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ResourceChecker< T >::checkState | ( | ) |
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.
null. Implemented in alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ComponentChecker< T extends ACSComponent >, and alma::ACS::MasterComponentImpl::SubsysResourceMonitor::PingableResourceChecker< T extends PingableResourceOperations >.
| T alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ResourceChecker< T >::getResource | ( | ) |
Implemented in alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ComponentChecker< T extends ACSComponent >, and alma::ACS::MasterComponentImpl::SubsysResourceMonitor::PingableResourceChecker< T extends PingableResourceOperations >.
Referenced by alma::ACS::MasterComponentImpl::SubsysResourceMonitor::monitorResource().
| String alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ResourceChecker< T >::getResourceName | ( | ) |
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.
Implemented in alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ComponentChecker< T extends ACSComponent >, and alma::ACS::MasterComponentImpl::SubsysResourceMonitor::PingableResourceChecker< T extends PingableResourceOperations >.
Referenced by alma::ACS::MasterComponentImpl::SubsysResourceMonitor::monitorResource().
1.6.2