Packages

c

org.dmonix.consul

KeyValue

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

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeyValue
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. 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

  7. val createIndex: Int
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val flags: Int
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val key: String
  13. val lockIndex: Int
  14. val modifyIndex: Int
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. val session: Option[String]
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. val value: Option[String]
  21. 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

  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped