cacheManagerName | String Name of the cache manager that manages the cache. This parameter is case sensitive. | |
cacheName | String Name of the cache that contains the key. This parameter is case sensitive. | |
key | Object Key for which you want to check locks. | |
lockType | String Optional. Type of lock for which to check the cached element. | |
Key | Description | |
read | The service checks whether the read lock is held for the current thread. This is the default. | |
write | The service checks whether the write lock is held for the current thread. |
locked | String Indicates whether the cached element is locked by the current thread. true indicates that the element is locked. false indicates that the element is not locked. Note: If the specified cache is a local cache and the specified lockType is read, the service always returns false. |