21#include <pulsar/defines.h>
47struct KeySharedPolicyImpl;
49typedef std::pair<int, int> StickyRange;
50typedef std::vector<StickyRange> StickyRanges;
113 std::shared_ptr<KeySharedPolicyImpl> impl_;
Definition KeySharedPolicy.h:52
KeySharedPolicy clone() const
KeySharedMode getKeySharedMode() const
KeySharedPolicy & setAllowOutOfOrderDelivery(bool allowOutOfOrderDelivery)
KeySharedPolicy & setKeySharedMode(KeySharedMode keySharedMode)
StickyRanges getStickyRanges() const
KeySharedPolicy & setStickyRanges(const StickyRanges &ranges)
bool isAllowOutOfOrderDelivery() const
KeySharedPolicy & setStickyRanges(std::initializer_list< StickyRange > ranges)
Definition Authentication.h:31
KeySharedMode
Definition KeySharedPolicy.h:33
@ AUTO_SPLIT
Definition KeySharedPolicy.h:38
@ STICKY
Definition KeySharedPolicy.h:44