alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler Class Reference

Collaboration diagram for alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void badState (TestResource resource, String stateName)
boolean resourceUnreachable (TestResource resource)
void resourceRecovered (TestResource resource)

Package Functions

 TestErrorHandler (Logger logger)
void resetCounters ()
int getBadStateCount ()
int getUnreachableCount ()
boolean isPermanentlyUnreachable ()
void setIsPermanentlyUnreachable (boolean isPermanentlyUnreachable)
void setUnreachabilitySync (CountDownLatch sync)

Private Attributes

final Logger logger
volatile int badStateCount
volatile int unreachableCount
boolean isPermanentlyUnreachable
volatile CountDownLatch unreachabilitySync

Constructor & Destructor Documentation

alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::TestErrorHandler ( Logger  logger  )  [inline, package]

Member Function Documentation

void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::badState ( TestResource  resource,
String  stateName 
) [inline]
int alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::getBadStateCount (  )  [inline, package]
int alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::getUnreachableCount (  )  [inline, package]
void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::resetCounters (  )  [inline, package]

References badStateCount, and unreachableCount.

Referenced by TestErrorHandler().

void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::resourceRecovered ( TestResource  resource  )  [inline]
boolean alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::resourceUnreachable ( TestResource  resource  )  [inline]
void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::setIsPermanentlyUnreachable ( boolean  isPermanentlyUnreachable  )  [inline, package]
void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::setUnreachabilitySync ( CountDownLatch  sync  )  [inline, package]

Member Data Documentation

Referenced by badState(), and resourceUnreachable().


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

Generated by  doxygen 1.6.2