VMware VMware GemFire Native .NET Reference 10.4.3
|
Defines attributes for configuring a region. More...
#include <RegionAttributes.hpp>
Inherits Apache::Geode::Client::IDataSerializableInternal.
Public Member Functions | |
virtual bool | Equals (Object^ other) override |
True if all the attributes are equal to those of other . | |
bool | Equals (RegionAttributes< TKey, TValue >^ other) |
True if all the attributes are equal to those of other . | |
virtual void | FromData (DataInput^ input) |
Deserializes this Properties object. | |
virtual void | ToData (DataOutput^ output) |
Serializes this Properties object. | |
String ^ | ToString () |
Return a string representation of the object. | |
void | ValidateSerializableAttributes () |
Throws IllegalStateException if the attributes are not suited for serialization such as those that have a cache callback (listener, loader, or writer) set directly instead of providing the library path and factory function. | |
Properties | |
ICacheListener< TKey, TValue >^ | CacheListener [get] |
Gets the cache listener for the region. | |
String^ | CacheListenerFactory [get] |
Returns the symbol name of the factory function from which the loader will be created on a cache server. | |
String^ | CacheListenerLibrary [get] |
Returns the path of the library from which the factory function will be invoked on a cache server. | |
Apache::Geode::Client::ICacheLoader< TKey, TValue >^ | CacheLoader [get] |
Gets the cache loader for the region. | |
String^ | CacheLoaderFactory [get] |
Rreturns the symbol name of the factory function from which the loader will be created on a cache server. | |
String^ | CacheLoaderLibrary [get] |
Returns the path of the library from which the factory function will be invoked on a cache server. | |
ICacheWriter< TKey, TValue >^ | CacheWriter [get] |
Gets the cache writer for the region. | |
String^ | CacheWriterFactory [get] |
Returns the symbol name of the factory function from which the loader will be created on a cache server. | |
String^ | CacheWriterLibrary [get] |
Returns the path of the library from which the factory function will be invoked on a cache server. | |
bool | CachingEnabled [get] |
If true, this region will store data in the current process. | |
bool | ClientNotificationEnabled [get] |
True if client notification is enabled. | |
bool | CloningEnabled [get] |
True if cloning is enabled for in case of delta. | |
bool | ConcurrencyChecksEnabled [get] |
Returns the concurrency check enabled flag of the region. | |
System::Int32 | ConcurrencyLevel [get] |
Returns the concurrency level of the entry's local cache. | |
DiskPolicyType | DiskPolicy [get] |
Returns the disk policy type of the region. | |
String^ | Endpoints [get] |
This method returns the list of endpoints (servername:portnumber) separated by commas. | |
TimeSpan | EntryIdleTimeout [get] |
Gets the idleTimeout value for entries in this region. | |
ExpirationAction | EntryIdleTimeoutAction [get] |
Gets the idleTimeout expiration action for entries in this region. | |
TimeSpan | EntryTimeToLive [get] |
Gets the timeToLive value for entries in this region. | |
ExpirationAction | EntryTimeToLiveAction [get] |
Gets the timeToLive expiration action for entries in this region. | |
System::Int32 | InitialCapacity [get] |
Returns the initial capacity of the entry's local cache. | |
Single | LoadFactor [get] |
Returns the load factor of the entry's local cache. | |
System::UInt32 | LruEntriesLimit [get] |
Returns the maximum number of entries this cache will hold before using LRU eviction. | |
ExpirationAction | LruEvictionAction [get] |
Returns the ExpirationAction used for LRU Eviction, default is LOCAL_DESTROY. | |
virtual System::UInt64 | ObjectSize [get] |
return the size of this object in bytes | |
IPartitionResolver< TKey, TValue >^ | PartitionResolver [get] |
Gets the partition resolver for the region. | |
String^ | PartitionResolverFactory [get] |
Returns the symbol name of the factory function from which the loader will be created on a cache server. | |
String^ | PartitionResolverLibrary [get] |
Returns the path of the library from which the factory function will be invoked on a cache server. | |
String^ | PersistenceFactory [get] |
Returns the symbol name of the factory function from which the persistence manager will be created on a cache server. | |
String^ | PersistenceLibrary [get] |
Returns the path of the library from which the factory function will be invoked on a cache server. | |
Properties< String^, String^>^ | PersistenceProperties [get] |
Returns the properties set for persistence. | |
String^ | PoolName [get] |
This method returns the name of the attached pool. | |
TimeSpan | RegionIdleTimeout [get] |
Gets the idleTimeout value for the region as a whole. | |
ExpirationAction | RegionIdleTimeoutAction [get] |
Gets the idleTimeout expiration action for the region as a whole. | |
TimeSpan | RegionTimeToLive [get] |
Gets the timeToLive value for the region as a whole. | |
ExpirationAction | RegionTimeToLiveAction [get] |
Gets the timeToLive expiration action for the region as a whole. | |
Defines attributes for configuring a region.
These are ICacheListener
, ICacheLoader
, ICacheWriter
, scope, mirroring, and expiration attributes for the region itself; expiration attributes for the region entries; and whether statistics are enabled for the region and its entries.
To create an instance of this interface, use RegionAttributesFactory.Create.
For compatibility rules and default values, see RegionAttributesFactory.
Note that the RegionAttributes
are not distributed with the region.
|
overridevirtual |
True if all the attributes are equal to those of other
.
other | attribute object to compare |
bool Apache::Geode::Client::RegionAttributes< TKey, TValue >::Equals | ( | RegionAttributes< TKey, TValue >^ | other | ) |
True if all the attributes are equal to those of other
.
other | attribute object to compare |
|
virtual |
Deserializes this Properties object.
input | the DataInput stream to use for reading data |
|
virtual |
Serializes this Properties object.
output | the DataOutput stream to use for serialization |
|
inherited |
Return a string representation of the object.
Implemented in Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableBoolean, bool, static_cast< int8_t >(DSCode::CacheableBoolean)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableByte, Byte, static_cast< int8_t >(DSCode::CacheableByte)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableCharacter, Char, static_cast< int8_t >(DSCode::CacheableCharacter)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableDouble, Double, static_cast< int8_t >(DSCode::CacheableDouble)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableFloat, Single, static_cast< int8_t >(DSCode::CacheableFloat)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt16, System::Int16, static_cast< int8_t >(DSCode::CacheableInt16)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt32, System::Int32, static_cast< int8_t >(DSCode::CacheableInt32)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt64, System::Int64, static_cast< int8_t >(DSCode::CacheableInt64)>, Apache::Geode::Client::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinArray< NativeArray, NativeArray, ManagedType, DsCode >, Apache::Geode::Client::CacheableDate, Apache::Geode::Client::CacheableFileName, Apache::Geode::Client::CacheableObject, Apache::Geode::Client::CacheableObjectXml, Apache::Geode::Client::CacheableString, Apache::Geode::Client::CacheableStringArray, Apache::Geode::Client::Properties< TPropKey, TPropValue >, Apache::Geode::Client::Properties< String^, String^>, and Apache::Geode::Client::Serializable.
void Apache::Geode::Client::RegionAttributes< TKey, TValue >::ValidateSerializableAttributes | ( | ) |
Throws IllegalStateException if the attributes are not suited for serialization such as those that have a cache callback (listener, loader, or writer) set directly instead of providing the library path and factory function.
IllegalStateException | if the attributes cannot be serialized |
|
get |
Gets the cache listener for the region.
ICacheListener
or null if none
|
get |
Returns the symbol name of the factory function from which the loader will be created on a cache server.
|
get |
Returns the path of the library from which the factory function will be invoked on a cache server.
|
get |
Gets the cache loader for the region.
ICacheLoader
or null if none
|
get |
Rreturns the symbol name of the factory function from which the loader will be created on a cache server.
|
get |
Returns the path of the library from which the factory function will be invoked on a cache server.
|
get |
Gets the cache writer for the region.
ICacheWriter
or null if none
|
get |
Returns the symbol name of the factory function from which the loader will be created on a cache server.
|
get |
Returns the path of the library from which the factory function will be invoked on a cache server.
|
get |
If true, this region will store data in the current process.
|
get |
True if client notification is enabled.
|
get |
True if cloning is enabled for in case of delta.
|
get |
Returns the concurrency check enabled flag of the region.
|
get |
Returns the concurrency level of the entry's local cache.
|
get |
Returns the disk policy type of the region.
|
get |
This method returns the list of endpoints (servername:portnumber) separated by commas.
|
get |
Gets the idleTimeout
value for entries in this region.
|
get |
Gets the idleTimeout
expiration action for entries in this region.
|
get |
Gets the timeToLive
value for entries in this region.
|
get |
Gets the timeToLive
expiration action for entries in this region.
|
get |
Returns the initial capacity of the entry's local cache.
|
get |
Returns the load factor of the entry's local cache.
|
get |
Returns the maximum number of entries this cache will hold before using LRU eviction.
|
get |
Returns the ExpirationAction used for LRU Eviction, default is LOCAL_DESTROY.
|
get |
return the size of this object in bytes
|
get |
Gets the partition resolver for the region.
IPartitionResolver
or null if none
|
get |
Returns the symbol name of the factory function from which the loader will be created on a cache server.
|
get |
Returns the path of the library from which the factory function will be invoked on a cache server.
|
get |
Returns the symbol name of the factory function from which the persistence manager will be created on a cache server.
|
get |
Returns the path of the library from which the factory function will be invoked on a cache server.
|
get |
Returns the properties set for persistence.
|
get |
This method returns the name of the attached pool.
|
get |
Gets the idleTimeout
value for the region as a whole.
|
get |
Gets the idleTimeout
expiration action for the region as a whole.
|
get |
Gets the timeToLive
value for the region as a whole.
|
get |
Gets the timeToLive
expiration action for the region as a whole.