20#ifndef GEODE_ATTRIBUTESMUTATOR_H_
21#define GEODE_ATTRIBUTESMUTATOR_H_
29#include "internal/geode_globals.hpp"
63 std::shared_ptr<Region> m_region;
158 const std::string& factoryFuncName);
175 const std::string& factoryFuncName);
192 const std::string& factoryFuncName);
ExpirationAction
ExpirationAction.hpp Enumerated type for expiration actions.
Definition: ExpirationAction.hpp:42
Supports modification of certain region attributes after the region has been created.
Definition: AttributesMutator.hpp:61
ExpirationAction setEntryTimeToLiveAction(ExpirationAction action)
Set the timeToLive Action for region entries.
void setCacheLoader(const std::shared_ptr< CacheLoader > &aLoader)
Sets cache loader for region.
std::chrono::seconds setRegionIdleTimeout(std::chrono::seconds idleTimeout)
Sets the idleTimeout duration for the region itself.
void setCacheWriter(const std::shared_ptr< CacheWriter > &aWriter)
Sets cache writer for region.
std::chrono::seconds setEntryTimeToLive(std::chrono::seconds timeToLive)
Sets the timeToLive duration for region entries.
void setCacheListener(const std::string &libpath, const std::string &factoryFuncName)
Sets cache listener for region.
ExpirationAction setRegionTimeToLiveAction(ExpirationAction action)
Set the timeToLive Action for the region itself.
void setCacheWriter(const std::string &libpath, const std::string &factoryFuncName)
Sets cache writer for region.
ExpirationAction setRegionIdleTimeoutAction(ExpirationAction action)
Set the idleTimeout Action for the region itself.
void setCacheListener(const std::shared_ptr< CacheListener > &aListener)
Sets cache listener for region.
AttributesMutator(const std::shared_ptr< Region > ®ion)
Internal constructor.
uint32_t setLruEntriesLimit(uint32_t entriesLimit)
Sets the Maximum entry count in the region before LRU eviction.
std::chrono::seconds setEntryIdleTimeout(std::chrono::seconds idleTimeout)
Sets the idleTimeout duration for region entries.
std::chrono::seconds setRegionTimeToLive(std::chrono::seconds timeToLive)
Sets the timeToLive duration for the region itself.
ExpirationAction setEntryIdleTimeoutAction(ExpirationAction action)
Set the idleTimeout Action for region entries.
void setCacheLoader(const std::string &libpath, const std::string &factoryFuncName)
Sets cache loader for region.