public interface AffinitySupport<K>
Modifier and Type | Method and Description |
---|---|
org.jboss.ejb.client.Affinity |
getStrictAffinity()
Returns the strict affinity associated with the entries of this cache
|
org.jboss.ejb.client.Affinity |
getWeakAffinity(K key)
Returns the weak affinity associated with the specified entry of this cache
|
boolean |
hasAffinity(K key)
Indicates whether the cache has an affinity for the specified key.
|
org.jboss.ejb.client.Affinity getStrictAffinity()
org.jboss.ejb.client.Affinity getWeakAffinity(K key)
boolean hasAffinity(K key)
key
- a candidate keyCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.