Package de.caluga.morphium.replicaset
Interface ReplicasetStatusListener
public interface ReplicasetStatusListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidgotNewStatus(Morphium morphium, ReplicaSetStatus status) voidonGetStatusFailure(Morphium morphium, int numErrors) infoms, if replicaset status could not be optained.voidvoidonMonitorAbort(Morphium morphium, int numErrors) called, if the ReplicasetMonitor aborts due to too many errors
-
Method Details
-
gotNewStatus
-
onGetStatusFailure
infoms, if replicaset status could not be optained.- Parameters:
numErrors- - how many errors getting the status in a row we already havei
-
onMonitorAbort
called, if the ReplicasetMonitor aborts due to too many errors- Parameters:
numErrors- - number of errors occured
-
onHostDown
- Parameters:
hostsDown- - list of hostnamed not upcurrentHostSeed- - list of currently available replicaset members
-