public final class ClusterAffinity extends Affinity
LOCAL, 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.
|
URI |
getUri()
Get the associated URI.
|
int |
hashCode() |
String |
toString() |
public ClusterAffinity(String clusterName)
clusterName
- the associated cluster namepublic String getClusterName()
public boolean equals(ClusterAffinity other)
Copyright © 2017 JBoss by Red Hat. All rights reserved.