Class ServiceList
java.lang.Object
io.vertx.ext.consul.ServiceList
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorServiceList(JsonObject json) Constructor from JSONServiceList(ServiceList other) Copy constructor -
Method Summary
-
Constructor Details
-
ServiceList
public ServiceList()Default constructor -
ServiceList
-
ServiceList
-
-
Method Details
-
toJson
-
getIndex
public long getIndex()Get Consul index- Returns:
- the consul index
-
setIndex
Set Consul index, a unique identifier representing the current state of the requested list of services- Parameters:
index- the consul index- Returns:
- reference to this, for fluency
-
getList
-
setList
Set list of services- Parameters:
list- the list of services- Returns:
- reference to this, for fluency
-
equals
-
hashCode
-