VMware GemFire Native C++ Reference
9.2.4
CqOperation.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#ifndef GEODE_CQOPERATION_H_
4
#define GEODE_CQOPERATION_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
29
namespace
apache
{
30
namespace
geode
{
31
namespace
client {
36
class
CPPCACHE_EXPORT
CqOperation {
37
// public static methods
38
public
:
39
// types of operation CORESPONDING TO THE ONES in geode.cache.Operation
40
41
typedef
enum
{
42
OP_TYPE_INVALID = -1,
43
OP_TYPE_CREATE = 1,
44
OP_TYPE_UPDATE = 2,
45
OP_TYPE_INVALIDATE = 4,
46
OP_TYPE_REGION_CLEAR = 8,
47
OP_TYPE_DESTROY = 16,
48
OP_TYPE_MARKER = 32
49
} CqOperationType;
50
};
51
}
// namespace client
52
}
// namespace geode
53
}
// namespace apache
54
55
#endif // GEODE_CQOPERATION_H_
apache
Each enum represents a predefined RegionAttributes in a {}.
Definition:
Assert.hpp:31
geode
CPPCACHE_EXPORT
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition:
geode_base.hpp:58
Pivotal GemFire C++ Cache API Documentation