1 #ifndef _GEMFIRE_GF_BASE_HPP_ 2 #define _GEMFIRE_GF_BASE_HPP_ 18 #define LIBEXP __declspec(dllexport) 20 #define LIBIMP __declspec(dllimport) 22 #define LIBCALL __stdcall 24 #define LIBEXPORT(type) LIBEXP type LIBCALL 33 #define LIBEXPORT(type) type 38 #define GFCEXTERN(type) LIBEXP type LIBCALL 40 #define GFCEXTERN(type) LIBIMP type LIBCALL 46 #define CPPCACHE_EXPORT LIBEXP 48 #define CPPCACHE_EXPORT LIBIMP 51 #define CPPCACHE_EXPORT 57 #define GF_TEMPLATE_EXPORT __declspec(dllexport) 59 #define GF_TEMPLATE_EXPORT __declspec(dllimport) 62 #define GF_TEMPLATE_EXPORT 67 typedef signed char int8;
68 typedef unsigned char uint8;
69 typedef signed short int16;
70 typedef unsigned short uint16;
71 typedef signed int int32;
72 typedef unsigned int uint32;
73 typedef signed __int64
int64;
74 typedef unsigned __int64
uint64;
81 typedef uint8 uint8_t;
82 typedef int16 int16_t;
84 typedef int32 int32_t;
86 typedef int64 int64_t;
147 # define PRId64 "lld" 150 # define PRIi64 "lli" 153 # define PRIo64 "llo" 156 # define PRIu64 "llu" 159 # define PRIx64 "llx" 162 # define PRIX64 "llX" 172 #define __STDC_FORMAT_MACROS 173 #include <inttypes.h> 214 #define DEFAULT_QUERY_RESPONSE_TIMEOUT 15 242 GF_NOSERVER_FOUND = 21,
245 GF_CLIENT_WAIT_TIMEOUT = 23,
246 GF_CLIENT_WAIT_TIMEOUT_REFRESH_PRMETADATA = 24,
274 GF_AUTHENTICATION_REQUIRED_EXCEPTION = 128,
276 GF_REMOTE_QUERY_EXCEPTION = 130,
284 GF_CACHE_LOCATOR_EXCEPTION = 134,
286 GF_FUNCTION_EXCEPTION = 136,
287 GF_ROLLBACK_EXCEPTION = 137,
288 GF_COMMIT_CONFLICT_EXCEPTION = 138,
289 GF_TRANSACTION_DATA_NODE_HAS_DEPARTED_EXCEPTION = 139,
290 GF_TRANSACTION_DATA_REBALANCED_EXCEPTION = 140,
291 GF_PUTALL_PARTIAL_RESULT_EXCEPTION = 141,
300 typedef void * (* pNew) (size_t);
301 typedef void (* pDelete) (
void *);
304 extern void setDefaultNewAndDelete();
307 void *
operator new (
size_t size);
308 void operator delete (
void * p);
309 void *
operator new [] (
size_t size);
310 void operator delete [] (
void * p);
315 #define GF_NEW(v, stmt) \ 320 catch (const std::bad_alloc&) { \ 321 throw gemfire::OutOfMemoryException( \ 322 "Out of Memory while executing \""#v" = new "#stmt";\""); \ 327 #define GF_SAFE_DELETE(x) \ 334 #define GF_SAFE_DELETE_ARRAY(x) \ uint32_t uint32
unsigned 32 bit integer
Definition: gf_base.hpp:179
entity does not exist
Definition: gf_base.hpp:226
ConcurrentModificationException in CacheProxy.
Definition: gf_base.hpp:265
Distributed locks not supported.
Definition: gf_base.hpp:252
int64_t int64
signed 64 bit integer
Definition: gf_base.hpp:180
Errors detected in CacheProxy processing.
Definition: gf_base.hpp:253
uint16_t uint16
unsigned 16 bit integer (ushort)
Definition: gf_base.hpp:177
type mismatch
Definition: gf_base.hpp:229
CacheWriterException in CacheProxy.
Definition: gf_base.hpp:257
LeaseExpiredException in CacheProxy.
Definition: gf_base.hpp:260
int16_t int16
signed 16 bit integer (short)
Definition: gf_base.hpp:176
StatisticsDisabledException in CacheProxy.
Definition: gf_base.hpp:264
Entry keys are not strings.
Definition: gf_base.hpp:250
IllegalArgumentException in Cache Proxy.
Definition: gf_base.hpp:254
unknown exception
Definition: gf_base.hpp:292
An Exception occured while invoking a cachewritter callback.
Definition: gf_base.hpp:268
No Authentication Provided.
Definition: gf_base.hpp:275
operation timed out
Definition: gf_base.hpp:236
Exception in CacheListener.
Definition: gf_base.hpp:278
Query exception on java cache server.
Definition: gf_base.hpp:277
Authentication Fails.
Definition: gf_base.hpp:272
maximum scopes exceeded
Definition: gf_base.hpp:235
invalid object reference
Definition: gf_base.hpp:230
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
Exception in Locator.
Definition: gf_base.hpp:285
operation not supported
Definition: gf_base.hpp:233
RegionExistsException in CacheProxy.
Definition: gf_base.hpp:258
message could not be handled
Definition: gf_base.hpp:240
int8_t int8
single byte, character or boolean field
Definition: gf_base.hpp:174
index out of range
Definition: gf_base.hpp:228
GfErrType
Error codes returned by GemFire C++ interface functions.
Definition: gf_base.hpp:220
class creation conflict
Definition: gf_base.hpp:224
int32_t int32
signed 32 bit integer
Definition: gf_base.hpp:178
NoServer found.
Definition: gf_base.hpp:243
deadlock detected
Definition: gf_base.hpp:222
EntryDestroyedException in CacheProxy.
Definition: gf_base.hpp:263
success - no error
Definition: gf_base.hpp:221
EntryNotFoundException in CacheProxy.
Definition: gf_base.hpp:266
invalid argument
Definition: gf_base.hpp:225
A failure other than timeout occured durring a batch request.
Definition: gf_base.hpp:269
insufficient memory
Definition: gf_base.hpp:227
RegionDestroyedException in CacheProxy.
Definition: gf_base.hpp:262
Non Authorized Operation Tried.
Definition: gf_base.hpp:273
disk full
Definition: gf_base.hpp:241
uint64_t uint64
unsigned 64 bit integer
Definition: gf_base.hpp:181
uint8_t uint8
unsigned integer value
Definition: gf_base.hpp:175
ALl connections in use.
Definition: gf_base.hpp:283
permission problem
Definition: gf_base.hpp:223
the region is not valid
Definition: gf_base.hpp:249
Java cache server exception sent to the thin client by java cache server.
Definition: gf_base.hpp:270
No region with the specified name.
Definition: gf_base.hpp:248
interrupted GemFire call
Definition: gf_base.hpp:239
Entry's value is not a byte array.
Definition: gf_base.hpp:251
arithmetic overflow
Definition: gf_base.hpp:237
lock not owned by process/thread
Definition: gf_base.hpp:232
CacheLoaderException in CacheProxy.
Definition: gf_base.hpp:261
not connected to GemFire
Definition: gf_base.hpp:231
IllegalStateException in CacheProxy.
Definition: gf_base.hpp:255
CacheClosedException in CacheProxy.
Definition: gf_base.hpp:259
EntryExistsException in CacheProxy.
Definition: gf_base.hpp:267
paging file I/O error
Definition: gf_base.hpp:238
attempt to exit global scope
Definition: gf_base.hpp:234
TimeoutException in CacheProxy.
Definition: gf_base.hpp:256