IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API SpecificationThe IGridMapPessimisticTx 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 |
An indexer that retreives or puts the key and value into the map with the
Get(TKey) and Put(TKey, TValue) methods.
|
![]() | 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 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. |
![]() | Transaction |
The Transaction instance used to configure and demarcate a transaction.
(Inherited from ITransactionable.) |
![]() | TtlEvictorType |
Retrieves the time to live type for the evictor on the map.
|
See Also