Public Member Functions | |
abstract boolean | resourceUnreachable (T resource) |
Package Functions | |
abstract void | badState (T resource, String stateName) |
abstract void | resourceRecovered (T resource) |
By implementing a custom error handler, a master component can attempt first to cure the situation, or go into ERROR state by calling doTransition(SubsystemStateEvent.SUBSYSEVENT_ERROR);
.
|
Called when SubsysResourceMonitor was found in a bad state, but still replied in time.
Implemented in alma::ACS::MasterComponentImpl::MasterComponentImplBase::DefaultResourceErrorHandler< T >.
|
|
Notification that the monitored resource has recovered after a previous failure or timeout. This notification can only work if monitoring has continued after the problem was detected, which is always the case for
Implemented in alma::ACS::MasterComponentImpl::MasterComponentImplBase::DefaultResourceErrorHandler< T >.
|
|
Called when the resource could not be reached at all because of a timeout or network/middleware communication errors. The resource object is passed to allow using one handler for many resources. The return value controls whether monitoring of this resource will be stopped:
Implemented in alma::ACS::MasterComponentImpl::MasterComponentImplBase::DefaultResourceErrorHandler< T >.
|