public final class ClusterAffinity extends Affinity
NONE, WEAK_AFFINITY_CONTEXT_KEY
Constructor and Description |
---|
ClusterAffinity(String clusterName)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Affinity other) |
boolean |
equals(ClusterAffinity other) |
boolean |
equals(Object other) |
String |
getClusterName()
Get the associated cluster name.
|
int |
hashCode() |
String |
toString() |
public ClusterAffinity(String clusterName)
clusterName
- the associated cluster namepublic String getClusterName()
public boolean equals(ClusterAffinity other)
Copyright © 2016 JBoss by Red Hat. All rights reserved.