VMware Tanzu GemFire Native C++ Reference 10.3.0
|
This class implements a partition resolver which routing object is the prefix of a given key. More...
#include <StringPrefixPartitionResolver.hpp>
Inherits apache::geode::client::PartitionResolver.
Public Member Functions | |
const std::string & | getName () override |
Returns the name of the PartitionResolver. More... | |
std::shared_ptr< CacheableKey > | getRoutingObject (const EntryEvent &opDetails) override |
This class implements a partition resolver which routing object is the prefix of a given key.
Delimiter is set by default to '|', still can be changed.
Examples:
|
overridevirtual |
Returns the name of the PartitionResolver.
Reimplemented from apache::geode::client::PartitionResolver.
|
overridevirtual |
opDetails | the detail of the entry event |
RuntimeException | - any exception thrown will terminate the operation and the exception will be passed to the calling thread. |
Implements apache::geode::client::PartitionResolver.