public class GridNearLockMapping extends Object
| Constructor and Description |
|---|
GridNearLockMapping(ClusterNode node,
KeyCacheObject firstKey)
Creates near lock mapping for specified node and key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addKey(KeyCacheObject key) |
Collection<KeyCacheObject> |
distributedKeys() |
void |
distributedKeys(Collection<KeyCacheObject> distributedKeys) |
Collection<KeyCacheObject> |
mappedKeys() |
ClusterNode |
node() |
@Nullable GridNearLockRequest |
request() |
void |
request(GridNearLockRequest req) |
String |
toString() |
public GridNearLockMapping(ClusterNode node, KeyCacheObject firstKey)
node - Node.firstKey - First key in mapped keys collection.public ClusterNode node()
public Collection<KeyCacheObject> mappedKeys()
public void addKey(KeyCacheObject key)
key - Key to add to mapping.@Nullable public @Nullable GridNearLockRequest request()
public void request(GridNearLockRequest req)
req - Near lock request.public Collection<KeyCacheObject> distributedKeys()
public void distributedKeys(Collection<KeyCacheObject> distributedKeys)
distributedKeys - Collection of distributed keys.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020