VMware GemFire Native C++ Reference
9.2.4
CqEvent.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#ifndef GEODE_CQEVENT_H_
4
#define GEODE_CQEVENT_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 "geode_globals.hpp"
24
#include "
geode_types.hpp
"
25
#include "
Exception.hpp
"
26
#include "
CqOperation.hpp
"
27
#include "
Cacheable.hpp
"
28
#include "
CacheableKey.hpp
"
29
#include "
CacheableBuiltins.hpp
"
30
35
namespace
apache
{
36
namespace
geode
{
37
namespace
client {
38
54
class
CPPCACHE_EXPORT
CqEvent
{
55
public
:
56
CqEvent
() {}
57
58
virtual
~
CqEvent
() {}
64
virtual
CqQueryPtr
getCq()
const
= 0;
65
70
virtual
CqOperation::CqOperationType getBaseOperation()
const
= 0;
71
77
virtual
CqOperation::CqOperationType getQueryOperation()
const
= 0;
78
85
virtual
CacheableKeyPtr
getKey()
const
= 0;
86
93
virtual
CacheablePtr
getNewValue()
const
= 0;
94
101
virtual
CacheableBytesPtr
getDeltaValue()
const
= 0;
102
103
private
:
104
CqEvent
(
const
CqEvent
&);
105
void
operator=(
const
CqEvent
&);
106
};
107
}
// namespace client
108
}
// namespace geode
109
}
// namespace apache
110
111
#endif // GEODE_CQEVENT_H_
CacheableKey.hpp
apache
Each enum represents a predefined RegionAttributes in a {}.
Definition:
Assert.hpp:31
apache::geode::client::CqEvent
Definition:
CqEvent.hpp:54
CqOperation.hpp
Cacheable.hpp
geode_types.hpp
geode
Exception.hpp
CacheableBuiltins.hpp
Contains generic template definitions for Cacheable types and instantiations for built-in types.
CPPCACHE_EXPORT
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition:
geode_base.hpp:58
apache::geode::client::SharedArrayPtr
Template class for CacheableArrayType SharedPtr's that adds [] operator.
Definition:
CacheableBuiltins.hpp:144
apache::geode::client::SharedPtr
Defines a reference counted shared pointer.
Definition:
SharedPtr.hpp:52
Pivotal GemFire C++ Cache API Documentation