Class MemberEntry
java.lang.Object
io.micronaut.discovery.consul.client.v1.MemberEntry
A member entry of a Consul cluster. See https://www.consul.io/api/agent.html
- Author:
- Álvaro Sánchez-Mariscal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getPort()
getTags()
void
setAddress
(InetAddress address) void
void
void
void
-
Constructor Details
-
MemberEntry
public MemberEntry()
-
-
Method Details
-
getName
- Returns:
- The name of this memeber
-
setName
- Parameters:
name
- Name of this member
-
getAddress
- Returns:
- The
InetAddress
of this member
-
setAddress
- Parameters:
address
- TheInetAddress
of this member
-
getPort
- Returns:
- The port this member is listening on
-
setPort
- Parameters:
port
- Listening port
-
getTags
- Returns:
- Tags associated with this member
-
setTags
- Parameters:
tags
- Tags associated with this member
-
getStatus
- Returns:
- Status of this member
-
setStatus
- Parameters:
status
- Status of this member
-