Package de.caluga.morphium.replicaset
Schnittstelle ReplicasetStatusListener
public interface ReplicasetStatusListener
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidgotNewStatus(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
-
Methodendetails
-
gotNewStatus
-
onGetStatusFailure
infoms, if replicaset status could not be optained.- Parameter:
numErrors- - how many errors getting the status in a row we already havei
-
onMonitorAbort
called, if the ReplicasetMonitor aborts due to too many errors- Parameter:
numErrors- - number of errors occured
-
onHostDown
- Parameter:
hostsDown- - list of hostnamed not upcurrentHostSeed- - list of currently available replicaset members
-