VMware GemFire Native C++ Reference
9.2.4
|
Go to the documentation of this file.
3 #ifndef GEODE_SYSTEMPROPERTIES_H_
4 #define GEODE_SYSTEMPROPERTIES_H_
42 const char* factFuncName);
61 const char* configFile = NULL);
71 const uint32_t threadPoolSize()
const {
return m_threadPoolSize; }
78 return m_statisticsSampleInterval;
101 return m_timestatisticsEnabled;
134 Log::LogLevel
logLevel()
const {
return m_logLevel; }
175 return m_redundancyMonitorInterval;
237 const char* name()
const {
return m_name; }
239 const char* cacheXMLFile()
const {
return m_cacheXMLFile; }
261 const uint32_t maxQueueSize() {
return m_maxQueueSize; }
263 const uint32_t javaConnectionPoolSize()
const {
264 return m_javaConnectionPoolSize;
266 void setjavaConnectionPoolSize(uint32_t size) {
267 m_javaConnectionPoolSize = size;
286 m_disableChunkHandlerThread = set;
294 return m_onClientDisconnectClearPdxTypeIds;
302 m_onClientDisconnectClearPdxTypeIds = set;
307 return (m_AuthIniLoaderLibrary == NULLPTR
309 : m_AuthIniLoaderLibrary->asChar());
314 return (m_AuthIniLoaderFactory == NULLPTR
316 : m_AuthIniLoaderFactory->asChar());
321 return (m_securityClientDhAlgo == NULLPTR
323 : m_securityClientDhAlgo->asChar());
328 return (m_securityClientKsPath == NULLPTR
330 : m_securityClientKsPath->asChar());
337 return m_securityPropertiesPtr;
344 return (m_AuthIniLoaderFactory != NULLPTR &&
345 m_AuthIniLoaderLibrary != NULLPTR);
352 return m_disableShufflingEndpoint;
360 return isSecurityOn() && m_securityClientDhAlgo != NULLPTR &&
361 m_securityClientDhAlgo->length() > 0;
408 return m_tombstoneTimeoutInMSec;
412 uint32_t m_statisticsSampleInterval;
414 bool m_statisticsEnabled;
416 bool m_appDomainEnabled;
418 char* m_statisticsArchiveFile;
422 Log::LogLevel m_logLevel;
428 bool m_debugStackTraceEnabled;
430 bool m_crashDumpEnabled;
432 bool m_disableShufflingEndpoint;
434 char* m_cacheXMLFile;
436 uint32_t m_logFileSizeLimit;
437 uint32_t m_logDiskSpaceLimit;
439 uint32_t m_statsFileSizeLimit;
440 uint32_t m_statsDiskSpaceLimit;
442 uint32_t m_maxQueueSize;
443 uint32_t m_javaConnectionPoolSize;
445 int32_t m_heapLRULimit;
446 int32_t m_heapLRUDelta;
447 int32_t m_maxSocketBufferSize;
448 int32_t m_pingInterval;
449 int32_t m_redundancyMonitorInterval;
451 int32_t m_notifyAckInterval;
452 int32_t m_notifyDupCheckLife;
461 char* m_durableClientId;
462 uint32_t m_durableTimeout;
464 uint32_t m_connectTimeout;
465 uint32_t m_connectWaitTimeout;
466 uint32_t m_bucketWaitTimeout;
470 bool m_autoReadyForEvents;
473 bool m_sslStrictMode;
474 bool m_timestatisticsEnabled;
476 char* m_sslTrustStore;
478 char* m_sslKeystorePassword;
480 char* m_conflateEvents;
482 uint32_t m_threadPoolSize;
483 uint32_t m_suspendedTxTimeout;
484 uint32_t m_tombstoneTimeoutInMSec;
485 bool m_disableChunkHandlerThread;
486 bool m_readTimeoutUnitInMillis;
487 bool m_onClientDisconnectClearPdxTypeIds;
494 void processProperty(
const char* property,
const char* value);
507 void throwError(
const char* msg);
512 friend class DistributedSystemImpl;
518 #endif // GEODE_SYSTEMPROPERTIES_H_
bool sslStrictMode() const
Whether SSL certificate verification is required.
Definition: SystemProperties.hpp:94
const bool crashDumpEnabled() const
Returns true if crash dump generation for unhandled fatal errors is enabled, false otherwise.
Definition: SystemProperties.hpp:235
const bool debugStackTraceEnabled() const
Returns true if the stack trace is enabled ,false otherwise.
Definition: SystemProperties.hpp:224
Each enum represents a predefined RegionAttributes in a {}.
Definition: Assert.hpp:31
bool statisticsEnabled() const
Tells whether statistics needs to be archived or not.
Definition: SystemProperties.hpp:84
const char * durableClientId() const
Returns the durable client ID.
Definition: SystemProperties.hpp:192
const uint32_t logFileSizeLimit() const
Returns the log-file-size-limit.
Definition: SystemProperties.hpp:244
const char * logFilename() const
Returns the name of the filename into which logging would be done.
Definition: SystemProperties.hpp:129
const char * sslKeystorePassword() const
Returns the client keystore password.
Definition: SystemProperties.hpp:112
const uint32_t connectWaitTimeout() const
Returns the connect wait timeout(in millis) used for to connect to server This is only applicable for...
Definition: SystemProperties.hpp:208
bool readTimeoutUnitInMillis() const
This can be call to know whether read timeout unit is in milli second.
Definition: SystemProperties.hpp:279
const uint32_t statisticsSampleInterval() const
Returns the sampling interval of the sampling thread.
Definition: SystemProperties.hpp:77
const uint32_t bucketWaitTimeout() const
Returns the connect wait timeout(in millis) used for to connect to server This is only applicable for...
Definition: SystemProperties.hpp:214
bool isEndpointShufflingDisabled() const
Checks whether list of endpoint is shuffeled or not.
Definition: SystemProperties.hpp:351
const char * authInitFactory() const
Return the security auth factory.
Definition: SystemProperties.hpp:313
const char * sslTrustStore() const
Returns the path of the public key file for SSL use.
Definition: SystemProperties.hpp:117
const uint32_t logDiskSpaceLimit() const
Returns the log-disk-space-limit.
Definition: SystemProperties.hpp:249
const char * authInitLibrary() const
Return the security auth library.
Definition: SystemProperties.hpp:306
A class for internal use, that encapsulates the properties that can be set from DistributedSystem::co...
Definition: SystemProperties.hpp:50
const uint32_t suspendedTxTimeout() const
Returns the timeout after which suspended transactions are rolled back.
Definition: SystemProperties.hpp:402
const bool heapLRULimitEnabled() const
Returns a boolean that specifies if heapLRULimit has been enabled for the process.
Definition: SystemProperties.hpp:145
const int32_t maxSocketBufferSize() const
Returns the maximum socket buffer size to use.
Definition: SystemProperties.hpp:165
PropertiesPtr getSecurityProperties() const
Returns securityPropertiesPtr.
Definition: SystemProperties.hpp:336
bool isSecurityOn() const
Checks whether Security is on or off.
Definition: SystemProperties.hpp:343
bool disableChunkHandlerThread() const
This can be call to know whether chunkhandler thread is disable for that opertaion.
Definition: SystemProperties.hpp:274
char * conflateEvents()
Returns client Queueconflation option.
Definition: SystemProperties.hpp:219
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
const int32_t redundancyMonitorInterval() const
Returns the time between two consecutive checks for redundancy for HA.
Definition: SystemProperties.hpp:174
bool isAppDomainEnabled() const
This property checks whether C# client is running in multiple appdoamin or not.
Definition: SystemProperties.hpp:386
const int32_t notifyDupCheckLife() const
Returns the expiry time of an idle event id map entry for duplicate notification checking.
Definition: SystemProperties.hpp:187
bool onClientDisconnectClearPdxTypeIds() const
returns true if app want to clear pdx type ids when client disconnect.
Definition: SystemProperties.hpp:293
AuthInitialize *(* LibraryAuthInitializeFn)(const char *assemblyPath, const char *factFuncName)
The SystemProperties class.
Definition: SystemProperties.hpp:41
bool getEnableTimeStatistics() const
Whether time stats are enabled for the statistics.
Definition: SystemProperties.hpp:99
const int32_t heapLRUDelta() const
Returns the HeapLRUDelta value (a percent value).
Definition: SystemProperties.hpp:161
const uint32_t durableTimeout() const
Returns the durable timeout.
Definition: SystemProperties.hpp:197
const uint32_t connectTimeout() const
Returns the connect timeout used for server and locator handshakes.
Definition: SystemProperties.hpp:202
bool autoReadyForEvents() const
Whether a non durable client starts to receive and process subscription events automatically.
Definition: SystemProperties.hpp:397
void setDisableChunkHandlerThread(bool set)
This can be call multiple time to disable chunkhandler thread for those operations.
Definition: SystemProperties.hpp:285
const char * securityClientKsPath()
Return the keystore (.pem file ) path.
Definition: SystemProperties.hpp:327
bool sslEnabled() const
Whether SSL is enabled for socket connections.
Definition: SystemProperties.hpp:89
const uint32_t statsDiskSpaceLimit() const
Returns the stat-disk-size-limit.
Definition: SystemProperties.hpp:259
bool isGridClient() const
Checks to see if this native client is being invoked as part of small grid jobs; use this setting to ...
Definition: SystemProperties.hpp:379
const char * statisticsArchiveFile() const
Returns the name of the filename into which statistics would be archived.
Definition: SystemProperties.hpp:123
const uint32_t statsFileSizeLimit() const
Returns the stat-file-space-limit.
Definition: SystemProperties.hpp:254
const int32_t notifyAckInterval() const
Returns the periodic notify ack interval.
Definition: SystemProperties.hpp:181
const uint32_t tombstoneTimeoutInMSec() const
Returns the tombstone timeout .
Definition: SystemProperties.hpp:407
void setOnClientDisconnectClearPdxTypeIds(bool set)
Set to true if app want to clear pdx type ids when client disconnect.
Definition: SystemProperties.hpp:301
const char * sslKeyStore() const
Returns the path of the private key file for SSL use.
Definition: SystemProperties.hpp:107
const size_t heapLRULimit() const
Returns the HeapLRULimit value (in bytes), the maximum memory that values in a cache can use to store...
Definition: SystemProperties.hpp:154
bool isDhOn()
Check whether Diffie-Hellman based credentials encryption is on.
Definition: SystemProperties.hpp:359
Definition: AuthInitialize.hpp:45
const char * securityClientDhAlgo()
Return the security diffie hellman secret key algo.
Definition: SystemProperties.hpp:320
const int32_t pingInterval() const
Returns the time between two consecutive ping to servers.
Definition: SystemProperties.hpp:170
Log::LogLevel logLevel() const
Returns the log level at which logging would be done.
Definition: SystemProperties.hpp:134
Pivotal GemFire C++ Cache API Documentation