diff options
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/i_document_subdb_owner.h')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/i_document_subdb_owner.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/i_document_subdb_owner.h b/searchcore/src/vespa/searchcore/proton/server/i_document_subdb_owner.h index 4bd143a077e..e170840e252 100644 --- a/searchcore/src/vespa/searchcore/proton/server/i_document_subdb_owner.h +++ b/searchcore/src/vespa/searchcore/proton/server/i_document_subdb_owner.h @@ -7,6 +7,8 @@ namespace proton { +namespace matching { class SessionManager; } + /** * Interface defining the communication needed with the owner of the * document sub db. @@ -14,10 +16,12 @@ namespace proton { class IDocumentSubDBOwner { public: + using SessionManager = matching::SessionManager; virtual ~IDocumentSubDBOwner() {} virtual document::BucketSpace getBucketSpace() const = 0; virtual vespalib::string getName() const = 0; virtual uint32_t getDistributionKey() const = 0; + virtual SessionManager & session_manager() = 0; }; } // namespace proton |