diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-04-28 17:41:48 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-04-29 15:17:25 -0400 |
commit | 762e0cdc48281414c05ee3ef53277bdf138a4334 (patch) | |
tree | f9cc40354131e0fabe51687c3af7f64e312250ef /src/mongo/db/repl/topology_coordinator.h | |
parent | cf56e9bc62cab6cfcb06af83fb7a330ba6bb84e8 (diff) | |
download | mongo-762e0cdc48281414c05ee3ef53277bdf138a4334.tar.gz |
SERVER-18117 Add replset view back to http interface
Diffstat (limited to 'src/mongo/db/repl/topology_coordinator.h')
-rw-r--r-- | src/mongo/db/repl/topology_coordinator.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/db/repl/topology_coordinator.h b/src/mongo/db/repl/topology_coordinator.h index fb6bde87e71..3c97e64be29 100644 --- a/src/mongo/db/repl/topology_coordinator.h +++ b/src/mongo/db/repl/topology_coordinator.h @@ -40,7 +40,6 @@ namespace mongo { - class OperationContext; class Timestamp; namespace repl { @@ -361,6 +360,13 @@ namespace repl { virtual void prepareCursorResponseInfo(BSONObjBuilder* objBuilder, const Timestamp& lastCommittedOpTime) const = 0; + /** + * Writes into 'output' all the information needed to generate a summary of the current + * replication state for use by the web interface. + */ + virtual void summarizeAsHtml(ReplSetHtmlSummary* output) = 0; + + protected: TopologyCoordinator() {} }; |