public final class NodeAffinity extends Affinity
LOCAL, NONE, WEAK_AFFINITY_CONTEXT_KEY
Constructor and Description |
---|
NodeAffinity(String nodeName)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Affinity other) |
boolean |
equals(NodeAffinity other) |
boolean |
equals(Object other) |
String |
getNodeName()
Get the associated node name.
|
URI |
getUri()
Get the associated URI.
|
int |
hashCode() |
String |
toString() |
public NodeAffinity(String nodeName)
nodeName
- the associated node name (must not be null
)public String getNodeName()
public boolean equals(NodeAffinity other)
Copyright © 2017 JBoss by Red Hat. All rights reserved.