case class KeyValue(createIndex: Int, modifyIndex: Int, lockIndex: Int, flags: Int, key: String, value: Option[String], session: Option[String]) extends Product with Serializable
Represents a key/value stored in Consul
- createIndex
The CreateIndex value as stored in Consul
- modifyIndex
The ModifyIndex value as stored in Consul
- lockIndex
The LockIndex value as stored in Consul
- flags
The Flags value as stored in Consul
- key
The name/path of the key
- value
The value in plain string format already Base64 decoded
- session
Optional owner (session ÍD) of the key
- Alphabetic
- By Inheritance
- KeyValue
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new KeyValue(createIndex: Int, modifyIndex: Int, lockIndex: Int, flags: Int, key: String, value: Option[String], session: Option[String])
- createIndex
The CreateIndex value as stored in Consul
- modifyIndex
The ModifyIndex value as stored in Consul
- lockIndex
The LockIndex value as stored in Consul
- flags
The Flags value as stored in Consul
- key
The name/path of the key
- value
The value in plain string format already Base64 decoded
- session
Optional owner (session ÍD) of the key
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def convertValueTo[T](implicit arg0: JsonReader[T]): Option[T]
Attempts to parse the string value into a Json value and finally convert it to the required type.
Attempts to parse the string value into a Json value and finally convert it to the required type.
- returns
The optional value converted to the required type
- Since
0.4.0
- val createIndex: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val flags: Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
- val lockIndex: Int
- val modifyIndex: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val session: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val value: Option[String]
- def valueAsJson: Option[JsValue]
Attempts to parse the string value into a Json value
Attempts to parse the string value into a Json value
- returns
The optional value as Json
- Since
0.4.0
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated