Click or drag to resize
AttributesMutator Class

Note: This API is now obsolete.

Supports modification of certain region attributes after the region has been created.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::AttributesMutator>]
    GemStone.GemFire.CacheAttributesMutator

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public sealed class AttributesMutator : [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::AttributesMutator>]

The AttributesMutator type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetCacheListener(ICacheListener)
Sets the CacheListener for the region. The previous cache listener (if any) will be replaced with the given cacheListener.
Public methodSetCacheListener(String, String)
Sets the library path for the library that will be invoked for the listener of the region. The previous cache listener will be replaced with a listener created using the factory function provided in the given library.
Public methodSetCacheLoader(ICacheLoader)
Sets the CacheLoader for the region. The previous cache loader (if any) will be replaced with the given cacheLoader.
Public methodSetCacheLoader(String, String)
Sets the library path for the library that will be invoked for the loader of the region. The previous cache loader will be replaced with a loader created using the factory function provided in the given library.
Public methodSetCacheWriter(ICacheWriter)
Sets the CacheListener for the region. The previous cache writer (if any) will be replaced with the given cacheWriter.
Public methodSetCacheWriter(String, String)
Sets the library path for the library that will be invoked for the writer of the region. The previous cache writer will be replaced with a writer created using the factory function provided in the given library.
Public methodSetEntryIdleTimeout
Sets the idleTimeout duration for region entries.
Public methodSetEntryIdleTimeoutAction
Sets the idleTimeout action for region entries.
Public methodSetEntryTimeToLive
Sets the timeToLive duration for region entries.
Public methodSetEntryTimeToLiveAction
Set the timeToLive action for region entries.
Public methodSetLruEntriesLimit
Sets the maximum entry count in the region before LRU eviction.
Public methodSetRegionIdleTimeout
Sets the idleTimeout duration for the region itself.
Public methodSetRegionIdleTimeoutAction
Sets the idleTimeout action for the region itself.
Public methodSetRegionTimeToLive
Sets the timeToLive duration for the region itself.
Public methodSetRegionTimeToLiveAction
Sets the timeToLive action for the region itself.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

It is required that the attributes be completely initialized using an [!:AttributesFactory] before creating the region. AttributesMutator can be applied to adjusting and tuning a subset of attributes that are modifiable at runtime.

The setter methods all return the previous value of the attribute.

See Also