public class Instance extends Object implements org.apache.curator.x.async.modeled.NodeName
Constructor and Description |
---|
Instance() |
Instance(String id,
InstanceType type,
String hostname,
int port) |
Modifier and Type | Method and Description |
---|---|
String |
getHostname() |
String |
getId() |
int |
getPort() |
InstanceType |
getType() |
String |
nodeName() |
String |
toString() |
public Instance()
public Instance(String id, InstanceType type, String hostname, int port)
public String getId()
public InstanceType getType()
public String getHostname()
public int getPort()
public String nodeName()
nodeName
in interface org.apache.curator.x.async.modeled.NodeName
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.