alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ResourceChecker< T > Interface Reference

Inheritance diagram for alma::ACS::MasterComponentImpl::SubsysResourceMonitor::ResourceChecker< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

String checkState ()
getResource ()
String getResourceName ()

Detailed Description

Encapsulates the details of a particular resource, so that all resources (components, offshoots, databases, ...) can be monitored in the same way.

Parameters:
<T> The type of the resource object, for example an ACS component type
See also:
ComponentChecker

Member Function Documentation

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.

Returns:
name of an offending state or status if one is found, otherwise 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 (  ) 
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().


The documentation for this interface was generated from the following file:

Generated by  doxygen 1.6.2