VMware GemFire Native C++ Reference
9.2.4
PartitionResolver.hpp
1
#pragma once
2
3
#ifndef GEODE_PARTITIONRESOLVER_H_
4
#define GEODE_PARTITIONRESOLVER_H_
5
6
/*
7
* Licensed to the Apache Software Foundation (ASF) under one or more
8
* contributor license agreements. See the NOTICE file distributed with
9
* this work for additional information regarding copyright ownership.
10
* The ASF licenses this file to You under the Apache License, Version 2.0
11
* (the "License"); you may not use this file except in compliance with
12
* the License. You may obtain a copy of the License at
13
*
14
* http://www.apache.org/licenses/LICENSE-2.0
15
*
16
* Unless required by applicable law or agreed to in writing, software
17
* distributed under the License is distributed on an "AS IS" BASIS,
18
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
* See the License for the specific language governing permissions and
20
* limitations under the License.
21
*/
22
23
#include "
SharedPtr.hpp
"
24
#include "
Cacheable.hpp
"
25
#include <string>
26
27
namespace
apache
{
28
namespace
geode
{
29
namespace
client {
30
31
class
EntryEvent;
32
69
class
CPPCACHE_EXPORT
PartitionResolver
:
public
SharedBase
{
74
public
:
78
virtual
~
PartitionResolver
();
79
84
virtual
const
char
* getName();
85
94
virtual
CacheableKeyPtr
getRoutingObject(
const
EntryEvent
& opDetails) = 0;
95
96
protected
:
100
PartitionResolver
();
101
102
private
:
103
// never implemented.
104
PartitionResolver
(
const
PartitionResolver
& other);
105
void
operator=(
const
PartitionResolver
& other);
106
};
107
}
// namespace client
108
}
// namespace geode
109
}
// namespace apache
110
111
#endif // GEODE_PARTITIONRESOLVER_H_
apache
Each enum represents a predefined RegionAttributes in a {}.
Definition:
Assert.hpp:31
Cacheable.hpp
SharedPtr.hpp
apache::geode::client::EntryEvent
Represents an entry event affecting an entry, including its identity and the the circumstances of the...
Definition:
EntryEvent.hpp:37
geode
apache::geode::client::PartitionResolver
Implementers of interface PartitionResolver enable custom partitioning on the PartitionedRegion.
Definition:
PartitionResolver.hpp:69
CPPCACHE_EXPORT
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition:
geode_base.hpp:58
apache::geode::client::SharedBase
Definition:
SharedBase.hpp:40
apache::geode::client::SharedPtr< CacheableKey >
Pivotal GemFire C++ Cache API Documentation