
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 |
| alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::TestErrorHandler | ( | Logger | logger | ) | [inline, package] |
References isPermanentlyUnreachable(), and resetCounters().
| void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::badState | ( | TestResource | resource, | |
| String | stateName | |||
| ) | [inline] |
References badStateCount, logger, and unreachableCount.
| int alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::getBadStateCount | ( | ) | [inline, package] |
References badStateCount.
Referenced by alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::testResourceUnavailable().
| int alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::getUnreachableCount | ( | ) | [inline, package] |
References unreachableCount.
Referenced by alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::testResourceUnavailable().
| boolean alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::isPermanentlyUnreachable | ( | ) | [inline, package] |
Referenced by resourceUnreachable(), and TestErrorHandler().
| 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] |
References isPermanentlyUnreachable(), logger, unreachabilitySync, and unreachableCount.
| void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::setIsPermanentlyUnreachable | ( | boolean | isPermanentlyUnreachable | ) | [inline, package] |
| void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::setUnreachabilitySync | ( | CountDownLatch | sync | ) | [inline, package] |
volatile int alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::badStateCount [private] |
Referenced by badState(), getBadStateCount(), and resetCounters().
boolean alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::isPermanentlyUnreachable [private] |
final Logger alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::logger [private] |
Referenced by badState(), and resourceUnreachable().
volatile CountDownLatch alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::unreachabilitySync [private] |
Referenced by resourceUnreachable(), and setUnreachabilitySync().
volatile int alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::TestErrorHandler::unreachableCount [private] |
Referenced by badState(), getUnreachableCount(), resetCounters(), and resourceUnreachable().
1.6.2