diff options
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() {} }; |