final case classQueryResponse[A](value: A, index: Long, knownLeader: Boolean, lastContact: Long) extends Product with Serializable
Representative of a response from Consul for an API call querying data, including
the values of the headers X-Consul-Index, X-Consul-Knownleader, and X-Consul-Lastcontact
Note that the following APIs are known not to return these headers (as of Consul v1.0.6):
Anything under /agent/
/catalog/datacenters
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
QueryResponse
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
newQueryResponse(value: A, index: Long, knownLeader: Boolean, lastContact: Long)
Representative of a response from Consul for an API call querying data, including the values of the headers X-Consul-Index, X-Consul-Knownleader, and X-Consul-Lastcontact Note that the following APIs are known not to return these headers (as of Consul v1.0.6):