Class

org.dmonix.consul

KeyValue

Related Doc: package consul

Permalink

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])

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def convertValueTo[T](implicit arg0: JsonReader[T]): Option[T]

    Permalink

    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

    Permalink

    The CreateIndex value as stored in Consul

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val flags: Int

    Permalink

    The Flags value as stored in Consul

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val key: String

    Permalink

    The name/path of the key

  14. val lockIndex: Int

    Permalink

    The LockIndex value as stored in Consul

  15. val modifyIndex: Int

    Permalink

    The ModifyIndex value as stored in Consul

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val session: Option[String]

    Permalink

    Optional owner (session ÍD) of the key

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. val value: Option[String]

    Permalink

    The value in plain string format already Base64 decoded

  22. def valueAsJson: Option[JsValue]

    Permalink

    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

  23. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped