Class SessionList
java.lang.Object
io.vertx.ext.consul.SessionList
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSessionList(JsonObject json) Constructor from JSONSessionList(SessionList other) Copy constructor -
Method Summary
-
Constructor Details
-
SessionList
public SessionList()Default constructor -
SessionList
-
SessionList
-
-
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 sessions- Parameters:
index- the consul index- Returns:
- reference to this, for fluency
-
getList
-
setList
Set list of sessions- Parameters:
list- the list of sessions- Returns:
- reference to this, for fluency
-
equals
-
hashCode
-