VMware GemFire Native Client C++ API Reference
|
VMware VMware GemFire Native C++ Reference 10.4.3
|
Loading...
Searching...
No Matches
Properties.hpp
Go to the documentation of this file.
Provide operations for reading primitive data values, byte arrays, strings, Serializable objects from...
Definition DataInput.hpp:59
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition DataOutput.hpp:48
Contains a set of (key, value) pair properties with key being the name of the property; value,...
Definition Properties.hpp:52
void addAll(const std::shared_ptr< Properties > &other)
Add the contents of other to this instance, replacing any existing values with those from other.
void insert(std::string key, std::string value)
Add or update the string value for key.
void remove(const std::string &key)
Remove the key from the collection.
size_t getSize() const
Return the number of entries in the collection.
void load(const std::string &fileName)
Read property values from a file, overriding what is currently in the properties object.
static std::shared_ptr< Properties > create()
Factory method, returns an empty collection.
static std::shared_ptr< Serializable > createDeserializable()
Return an empty instance for deserialization.
std::shared_ptr< CacheableString > find(const std::string &key)
Return the value for the given key, or nullptr if not found.
void insert(const std::shared_ptr< CacheableKey > &key, const std::shared_ptr< Cacheable > &value)
Add or update Cacheable value for CacheableKey.
std::shared_ptr< Cacheable > find(const std::shared_ptr< CacheableKey > &key)
Return the value for the given CacheableKey, or nullptr if not found.
void remove(const std::shared_ptr< CacheableKey > &key)
Remove the CacheableKey from the collection.
void insert(std::string key, const int value)
Add or update the int value for key.
Apache Geode C++ Cache API Documentation