public class RSMonitor extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
ReplicaSetStatus |
getCurrentStatus() |
ReplicaSetStatus |
getReplicaSetStatus(boolean full)
get the current replicaset status - issues the replSetGetStatus command to mongo
if full==true, also the configuration is read.
|
void |
start() |
void |
terminate() |
public RSMonitor(Morphium morphium)
public void start()
public void terminate()
public void execute()
public ReplicaSetStatus getReplicaSetStatus(boolean full)
full - - if true- return full statuspublic ReplicaSetStatus getCurrentStatus()
Copyright © 2019. All rights reserved.