Apache Geode Native C++ Reference 1.15.0
|
The SystemProperties class. More...
#include <SystemProperties.hpp>
Public Member Functions | |
const std::chrono::milliseconds & | bucketWaitTimeout () const |
Returns the connect wait timeout(in milliseconds) used for to connect to server This is only applicable for linux. More... | |
const std::string & | conflateEvents () const |
Returns client Queueconflation option. More... | |
const std::chrono::milliseconds & | connectTimeout () const |
Returns the connect timeout used for server and locator handshakes. More... | |
const std::chrono::milliseconds & | connectWaitTimeout () const |
Returns the connect wait timeout(in milliseconds) used for to connect to server This is only applicable for linux. More... | |
const std::string & | durableClientId () const |
Returns the durable client ID. More... | |
const std::chrono::seconds & | durableTimeout () const |
Returns the durable timeout. More... | |
bool | enableChunkHandlerThread () const |
Returns true if chunk handler thread is enabled, false if not. More... | |
bool | getEnableTimeStatistics () const |
Whether time stats are enabled for the statistics. More... | |
int32_t | heapLRUDelta () const |
Returns the HeapLRUDelta value (a percent value). More... | |
size_t | heapLRULimit () const |
Returns the HeapLRULimit value (in bytes), the maximum memory that values in a cache can use to store data before overflowing to disk or destroying entries to ensure that the server process never runs out of memory due to cache memory usage. More... | |
bool | heapLRULimitEnabled () const |
Returns a boolean that specifies if heapLRULimit has been enabled for the process. More... | |
uint32_t | logDiskSpaceLimit () const |
Returns the log-disk-space-limit. More... | |
const std::string & | logFilename () const |
Returns the name of the filename into which logging would be done. More... | |
uint32_t | logFileSizeLimit () const |
Returns the log-file-size-limit. More... | |
LogLevel | logLevel () const |
Returns the log level at which logging would be done. More... | |
void | logSettings () |
print all settings to the process log. More... | |
int32_t | maxSocketBufferSize () const |
Returns the maximum socket buffer size to use. More... | |
const std::chrono::milliseconds & | notifyAckInterval () const |
Returns the periodic notify ack interval. More... | |
const std::chrono::milliseconds & | notifyDupCheckLife () const |
Returns the expiry time of an idle event id map entry for duplicate notification checking. More... | |
bool | onClientDisconnectClearPdxTypeIds () const |
Returns true if app wants to clear pdx type ids when client disconnect. More... | |
const std::chrono::seconds & | pingInterval () const |
Returns the time between two consecutive pings to servers. More... | |
void | processProperty (const std::string &property, const std::string &value) |
Processes the given property/value pair, saving the results internally: More... | |
const std::chrono::seconds & | redundancyMonitorInterval () const |
Returns the time between two consecutive checks for redundancy for HA. More... | |
void | setEnableChunkHandlerThread (bool set) |
Enables or disables the chunk handler thread. More... | |
void | setLogLevel (LogLevel newLogLevel) |
Changes the current log level to newLogLevel. More... | |
void | setOnClientDisconnectClearPdxTypeIds (bool set) |
Set to true if app wants to clear pdx type ids when client disconnect. More... | |
bool | sslEnabled () const |
Whether SSL is enabled for socket connections. More... | |
const std::string & | sslKeyStore () const |
Returns the path of the private key file for SSL use. More... | |
const std::string & | sslKeystorePassword () const |
Returns the client keystore password. More... | |
const std::string & | sslTrustStore () const |
Returns the path of the public key file for SSL use. More... | |
const std::string & | statisticsArchiveFile () const |
Returns the name of the filename into which statistics would be archived. More... | |
bool | statisticsEnabled () const |
Tells whether statistics needs to be archived or not. More... | |
const std::chrono::milliseconds | statisticsSampleInterval () const |
Returns the sampling interval of the sampling thread. More... | |
uint32_t | statsDiskSpaceLimit () const |
Returns the stat-disk-size-limit. More... | |
uint32_t | statsFileSizeLimit () const |
Returns the stat-file-space-limit. More... | |
SystemProperties (const std::shared_ptr< Properties > &propertiesPtr, const std::string &configFile="") | |
Constructor. More... | |
~SystemProperties () | |
Destructor. More... | |
Data Fields | |
_GEODE_DEPRECATED_("Diffie-Hellman based credentials encryption is not supported.") const std bool | m_statisticsEnabled |
Return the keystore (.pem file ) path. More... | |
The SystemProperties class.
A class for internal use that encapsulates the properties that can be set from DistributedSystem::connect.
|
explicit |
Constructor.
Will set the default values first, and then overwrite with the values found in the given Properties object (if any), and then from the values in the given file (if it exists).
If useMemType is true, use the given member type; if false, always set member type to SERVER.
apache::geode::client::SystemProperties::~SystemProperties | ( | ) |
Destructor.
|
inline |
Returns the connect wait timeout(in milliseconds) used for to connect to server This is only applicable for linux.
|
inline |
Returns client Queueconflation option.
|
inline |
Returns the connect timeout used for server and locator handshakes.
|
inline |
Returns the connect wait timeout(in milliseconds) used for to connect to server This is only applicable for linux.
|
inline |
Returns the durable client ID.
|
inline |
Returns the durable timeout.
|
inline |
Returns true if chunk handler thread is enabled, false if not.
|
inline |
Whether time stats are enabled for the statistics.
|
inline |
Returns the HeapLRUDelta value (a percent value).
This specifies the percentage of entries the system will evict each time it detects that it has exceeded the HeapLRULimit. Defaults to 10%
|
inline |
Returns the HeapLRULimit value (in bytes), the maximum memory that values in a cache can use to store data before overflowing to disk or destroying entries to ensure that the server process never runs out of memory due to cache memory usage.
|
inline |
Returns a boolean that specifies if heapLRULimit has been enabled for the process.
If enabled, the HeapLRULimit specifies the maximum amount of memory that values in a cache can use to store data before overflowing to disk or destroying entries to ensure that the server process never runs out of memory
|
inline |
Returns the log-disk-space-limit.
|
inline |
Returns the name of the filename into which logging would be done.
|
inline |
Returns the log-file-size-limit.
|
inline |
Returns the log level at which logging would be done.
void apache::geode::client::SystemProperties::logSettings | ( | ) |
print all settings to the process log.
|
inline |
Returns the maximum socket buffer size to use.
|
inline |
Returns the periodic notify ack interval.
|
inline |
Returns the expiry time of an idle event id map entry for duplicate notification checking.
|
inline |
Returns true if app wants to clear pdx type ids when client disconnect.
default is false.
|
inline |
Returns the time between two consecutive pings to servers.
void apache::geode::client::SystemProperties::processProperty | ( | const std::string & | property, |
const std::string & | value | ||
) |
Processes the given property/value pair, saving the results internally:
|
inline |
Returns the time between two consecutive checks for redundancy for HA.
|
inline |
Enables or disables the chunk handler thread.
|
inline |
Changes the current log level to newLogLevel.
|
inline |
Set to true if app wants to clear pdx type ids when client disconnect.
Default is false.
|
inline |
Whether SSL is enabled for socket connections.
|
inline |
Returns the path of the private key file for SSL use.
|
inline |
Returns the client keystore password.
|
inline |
Returns the path of the public key file for SSL use.
|
inline |
Returns the name of the filename into which statistics would be archived.
|
inline |
Tells whether statistics needs to be archived or not.
|
inline |
Returns the sampling interval of the sampling thread.
This would be how often the statistics thread writes to disk.
|
inline |
Returns the stat-disk-size-limit.
|
inline |
Returns the stat-file-space-limit.
_GEODE_DEPRECATED_ ( "Diffie-Hellman based credentials encryption is not supported.") const std bool apache::geode::client::SystemProperties::m_statisticsEnabled |
Return the keystore (.pem file ) path.
Returns securityPropertiesPtr.