|
Apache Geode Native .NET Reference 1.15.0
|
Factory class to create instances of RegionAttributes. More...
#include <RegionAttributesFactory.hpp>
Public Member Functions | |
| RegionAttributes< TKey, TValue > ^ | Create () |
Creates a RegionAttributes with the current settings. More... | |
| RegionAttributesFactory () | |
Creates a new RegionAttributesFactory ready to create a RegionAttributes with default settings. More... | |
| RegionAttributesFactory (RegionAttributes< TKey, TValue >^ regionAttributes) | |
Creates a new instance of RegionAttributesFactory ready to create a RegionAttributes with the same settings as those in the specified RegionAttributes. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetCacheListener (ICacheListener< TKey, TValue >^ cacheListener) |
Sets the CacheListener for the RegionAttributes being created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetCacheListener (String^ libPath, String^ factoryFunctionName) |
| Sets the library path for the library that will be invoked for the listener of the region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetCacheLoader (ICacheLoader< TKey, TValue >^ cacheLoader) |
Sets the cache loader for the RegionAttributes being created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetCacheLoader (String^ libPath, String^ factoryFunctionName) |
| Sets the library path for the library that will be invoked for the loader of the region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetCacheWriter (ICacheWriter< TKey, TValue >^ cacheWriter) |
Sets the cache writer for the RegionAttributes being created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetCacheWriter (String^ libPath, String^ factoryFunctionName) |
| Sets the library path for the library that will be invoked for the writer of the region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetCachingEnabled (bool cachingEnabled) |
| Set caching enabled flag for this region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetCloningEnabled (bool cloningEnabled) |
| Set cloning enabled flag for this region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetConcurrencyChecksEnabled (bool concurrencyChecksEnabled) |
| Sets concurrency checks enabled flag for this region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetConcurrencyLevel (System::Int32 concurrencyLevel) |
Sets the concurrency level of the next RegionAttributes created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetDiskPolicy (DiskPolicyType diskPolicy) |
Sets the disk policy type for the next RegionAttributes created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetEntryIdleTimeout (ExpirationAction action, TimeSpan idleTimeout) |
Sets the idleTimeout expiration attributes for region entries for the next RegionAttributes created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetEntryTimeToLive (ExpirationAction action, TimeSpan timeToLive) |
Sets the timeToLive expiration attributes for region entries for the next RegionAttributes created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetInitialCapacity (System::Int32 initialCapacity) |
Sets the entry initial capacity for the RegionAttributes being created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetLoadFactor (Single loadFactor) |
Sets the entry load factor for the next RegionAttributes created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetLruEntriesLimit (System::UInt32 entriesLimit) |
| Sets a limit on the number of entries that will be held in the cache. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetPartitionResolver (IPartitionResolver< TKey, TValue >^ partitionresolver) |
Sets the PartitionResolver for the RegionAttributes being created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetPartitionResolver (String^ libPath, String^ factoryFunctionName) |
| Sets the library path for the library that will be invoked for the partition resolver of the region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetPersistenceManager (IPersistenceManager< TKey, TValue >^ persistenceManager) |
| Sets the PersistenceManager object that will be invoked for the persistence of the region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetPersistenceManager (IPersistenceManager< TKey, TValue >^ persistenceManager, Properties< String^, String^>^ config) |
| Sets the PersistenceManager object that will be invoked for the persistence of the region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetPersistenceManager (String^ libPath, String^ factoryFunctionName) |
| Sets the library path for the library that will be invoked for the persistence of the region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetPersistenceManager (String^ libPath, String^ factoryFunctionName, Properties< String^, String^>^ config) |
| Sets the library path for the library that will be invoked for the persistence of the region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetPoolName (String^ poolName) |
| Set the pool name for a Thin Client region. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetRegionIdleTimeout (ExpirationAction action, TimeSpan idleTimeout) |
Sets the idleTimeout expiration attributes for the region itself for the next RegionAttributes created. More... | |
| RegionAttributesFactory< TKey, TValue > ^ | SetRegionTimeToLive (ExpirationAction action, TimeSpan timeToLive) |
Sets the timeToLive expiration attributes for the region itself for the next RegionAttributes created. More... | |
Factory class to create instances of RegionAttributes.
An RegionAttributesFactory instance maintains state for creating RegionAttributes instances. The setter methods are used to change the settings that will be used for creating the next attributes instance with the Create method. If you create a factory with the default constructor, then the factory is set up to create attributes with all default settings. You can also create a factory by providing a preset RegionAttributes.
Once a RegionAttributes is created, it can only be modified after it has been used to create a Region, and then only by using an AttributesMutator obtained from the region.
User-implemented plug-in for loading data on cache misses.
see SetCacheLoader, RegionAttributes.CacheLoader
User-implemented plug-in for intercepting cache modifications, e.g. for writing to an external data source.
see SetCacheWriter, RegionAttributes.CacheWriter
User-implemented plug-in for receiving and handling cache-related events.
see SetCacheListener, RegionAttributes.CacheListener
Expiration configuration for the entire region based on the lastModifiedTime ( CacheStatistics.LastModifiedTime ).
see SetRegionTimeToLive, RegionAttributes.RegionTimeToLive, AttributesMutator.SetRegionTimeToLive
Expiration configuration for the entire region based on the lastAccessedTime ( CacheStatistics.LastAccessedTime ).
see SetRegionIdleTimeout, RegionAttributes.RegionIdleTimeout, AttributesMutator.SetRegionIdleTimeout
Expiration configuration for individual entries based on the lastModifiedTime ( CacheStatistics.LastModifiedTime ).
see SetEntryTimeToLive, RegionAttributes.EntryTimeToLive, AttributesMutator.SetEntryTimeToLive
16] The initial capacity of the map used for storing the entries.
see SetInitialCapacity, RegionAttributes.InitialCapacity
0.75] The load factor of the map used for storing the entries.
see