IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API SpecificationThe IGridMapPessimisticAutoTx TKey, TValue type exposes the following members.
Back to Top
Properties
Name | Description | |
---|---|---|
![]() | Grid |
Retrieves the IGrid instance associated with this map.
(Inherited from IGridMap TKey, TValue .) |
![]() | Item |
Gets or sets the value in the map using the specified key.
|
![]() | LockTimeout |
Gets or sets the maximum time to wait when acquiring a lock on an item in the grid map.
|
![]() | Name |
Retrieves the map name.
(Inherited from IGridMap TKey, TValue .) |
![]() | PartitionManager |
Retrieves the IPartitionManager associated with this map.
(Inherited from IGridMap TKey, TValue .) |
![]() | TimeToLive |
Establishes the interval of time that any given cache entry can live for, which is referred to as "time to live"
or TTL. Setting a new TTL value affects cache entries that are accessed after this method call occurs. It does
not affect any cache entry that was created or accessed prior to this method call. By calling this method on this
IGridMapPessimisticTx, any previous value set by the IGridMapPessimisticTx.TimeToLive property is
overridden for this map instnace. If this method is never called on the map, the default setting is used. The
default setting is to retain the time-to-live value for any existing map entry and to use the default value from
map configuration setting if a new map entry is being created. If TTL is never set on the map configuration, the cache entry
can live "forever".
This property can only be used when the TtlEvictorType property is set to LastAccessTime or LastUpdateTime on the map configuration. If this method is called on the IGridMapPessimisticTx and the TtlEvictorType is something other than LastAccessTime or LastUpdateTime, an ArgumentException is thrown. To disable the TTL timeout, use a value of TimeSpan.Zero. To revert the TTL value to the configured default, use a value of TimeSpan.MinValue. |
![]() | TtlEvictorType |
Gets the TtlType of the map's TTL evictor.
|
See Also