public class Registration extends Object implements Topology.Entry, Serializable
| Constructor and Description |
|---|
Registration(String sourceKey,
String name,
String address,
int port,
String... tags) |
| Modifier and Type | Method and Description |
|---|---|
Registration |
addTags(List<String> tags) |
boolean |
equals(Object obj) |
String |
getAddress() |
String |
getName() |
int |
getPort() |
String |
getSourceKey() |
List<String> |
getTags() |
int |
hashCode() |
boolean |
hasTag(String tag) |
String |
toString() |
public String getSourceKey()
public String getName()
public String getAddress()
getAddress in interface Topology.Entrypublic int getPort()
getPort in interface Topology.Entrypublic Registration addTags(List<String> tags)
public List<String> getTags()
getTags in interface Topology.Entrypublic boolean hasTag(String tag)
Copyright © 2017 JBoss by Red Hat. All rights reserved.