IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification
Assembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Specification details:
Looks in the map for an entry that is associated with the specified the key. If an entry is found, true is returned.
If an entry is not found, false is returned. Data grids do not support null key values, so a
nullkey cannot be specified.
Namespace: IBM.WebSphere.Caching.MapAssembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Syntax
Parameters
- key
- Type: TKey
Specifies the key to test in the map.
Return Value
Returns true if the key is found, false otherwise.Exceptions
Exception | Condition |
---|---|
System ArgumentException | Occurs when a null key is specified. |
IBM.WebSphere.Caching GridException | Occurs when an error occurs during processing. |
IBM.WebSphere.Caching.Security AccessControlException | Occurs when the caller has insufficient authority to perform this operation. |
Remarks
Required client permission: | MapPermission.READ |
Pessimistic locks acquired: | LockMode.Shared |
Cache tier: | Progresses to all tiers until the key is found. |
See Also