public class LockUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LockUtil.LockOwnership |
Modifier and Type | Method and Description |
---|---|
static LockUtil.LockOwnership |
getLockOwnership(Object key,
ClusteringDependentLogic clusteringDependentLogic)
It filters the
key by lock ownership. |
public static LockUtil.LockOwnership getLockOwnership(Object key, ClusteringDependentLogic clusteringDependentLogic)
key
by lock ownership.key
- the key to checkclusteringDependentLogic
- the ClusteringDependentLogic
to check the ownership of the keys.LockUtil.LockOwnership
.NullPointerException
- if clusteringDependentLogic
is null
.Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.