Package com.networknt.consul
Class ConsulResponse<T>
- java.lang.Object
-
- com.networknt.consul.ConsulResponse<T>
-
public class ConsulResponse<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description ConsulResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getConsulIndex()
Boolean
getConsulKnownLeader()
Long
getConsulLastContact()
T
getValue()
void
setConsulIndex(Long consulIndex)
void
setConsulKnownLeader(Boolean consulKnownLeader)
void
setConsulLastContact(Long consulLastContact)
void
setValue(T value)
-
-
-
Method Detail
-
getValue
public T getValue()
-
setValue
public void setValue(T value)
-
getConsulIndex
public Long getConsulIndex()
-
setConsulIndex
public void setConsulIndex(Long consulIndex)
-
getConsulKnownLeader
public Boolean getConsulKnownLeader()
-
setConsulKnownLeader
public void setConsulKnownLeader(Boolean consulKnownLeader)
-
getConsulLastContact
public Long getConsulLastContact()
-
setConsulLastContact
public void setConsulLastContact(Long consulLastContact)
-
-