Apache Ignite C++
transaction_consts.h
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
23 #ifndef _IGNITE_TRANSACTIONS_TRANSACTION_CONSTS
24 #define _IGNITE_TRANSACTIONS_TRANSACTION_CONSTS
25 
26 namespace ignite
27 {
28  namespace transactions
29  {
34  {
35  enum Type
36  {
52 
65  };
66  };
67 
72  {
73  enum Type
74  {
85  READ_COMMITTED = 0,
86 
98  REPEATABLE_READ = 1,
99 
111  SERIALIZABLE = 2
112  };
113  };
114 
119  {
120  enum Type
121  {
124 
127 
130 
133 
136 
139 
142 
145 
147  UNKNOWN
148  };
149  };
150  }
151 }
152 
153 #endif //_IGNITE_TRANSACTIONS_TRANSACTION_CONSTS
Pessimistic concurrency model.
Definition: transaction_consts.h:64
Type
Definition: transaction_consts.h:120
Transaction validation succeeded.
Definition: transaction_consts.h:129
Transaction commit succeeded.
Definition: transaction_consts.h:138
Transaction rollback started (validation failed).
Definition: transaction_consts.h:141
Transaction concurrency control model.
Definition: transaction_consts.h:33
Cache transaction state.
Definition: transaction_consts.h:118
Optimistic concurrency model.
Definition: transaction_consts.h:51
Transaction rollback succeeded.
Definition: transaction_consts.h:144
Defines different cache transaction isolation levels.
Definition: transaction_consts.h:71
Transaction commit started (validating finished).
Definition: transaction_consts.h:135
Transaction started.
Definition: transaction_consts.h:123
Transaction is marked for rollback.
Definition: transaction_consts.h:132
Transaction validating.
Definition: transaction_consts.h:126
Type
Definition: transaction_consts.h:73
Apache Ignite API.
Definition: cache.h:48
Type
Definition: transaction_consts.h:35