IGridMapPessimisticTx TKey, TValue  PropertiesIBM WebSphere™ eXtreme Scale Client for .NET API Specification
IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification

The IGridMapPessimisticTx TKey, TValue  type exposes the following members.
Properties

  NameDescription
Public propertyGrid
Retrieves the IGrid instance associated with this map.
(Inherited from IGridMap TKey, TValue .)
Public propertyItem
An indexer that retreives or puts the key and value into the map with the Get(TKey) and Put(TKey, TValue) methods.
Public propertyLockTimeout
Gets or sets the maximum time to wait when acquiring a lock on an item in the grid map.
Public propertyName
Retrieves the map name.
(Inherited from IGridMap TKey, TValue .)
Public propertyPartitionManager
Retrieves the IPartitionManager associated with this map.
(Inherited from IGridMap TKey, TValue .)
Public propertyTimeToLive
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 be used only 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 exception results.

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.

Public propertyTransaction
The Transaction instance used to configure and demarcate a transaction.
(Inherited from ITransactionable.)
Public propertyTtlEvictorType
Retrieves the time to live type for the evictor on the map.
Back to Top
See Also