// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include #include #include #include #include namespace storage::lib { class ClusterStateBundle; } namespace storage::distributor { class ClusterInformation { public: using CSP = std::shared_ptr; virtual ~ClusterInformation() = default; virtual uint16_t getDistributorIndex() const = 0; virtual const lib::ClusterStateBundle& getClusterStateBundle() const = 0; virtual const char* getStorageUpStates() const = 0; uint16_t getStorageNodeCount() const; }; }