public final class NodeAffinity extends Affinity
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.
|
int |
hashCode() |
String |
toString() |
public NodeAffinity(String nodeName)
nodeName
- the associated node namepublic String getNodeName()
public boolean equals(NodeAffinity other)
Copyright © 2016 JBoss by Red Hat. All rights reserved.