Object

com.eiipii.etcd.client.model

EtcdModel

Related Doc: package model

Permalink

object EtcdModel

Contains methods to define well-formed instances of EtcdKey, EtcdDirectory, hidden nodes and EtcdValue.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EtcdModel
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 directory(dir: String): EtcdDirectory

    Permalink

    Creates a well-formed instance of EtcdDirectory from a String that represents a path.

    Creates a well-formed instance of EtcdDirectory from a String that represents a path.

    dir

    the string representation of the directory.

  7. def directoryOfKey(key: EtcdKey): EtcdDirectory

    Permalink

    Returns an instance of EtcdDirectory from a EtcdKey.

    Returns an instance of EtcdDirectory from a EtcdKey.

    An EtcdDirectory can be treated as an EtcdKey by adding a closing '/'.

    key

    the EtcdKey that is to be treated as a directory.

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

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromPath(path: List[String]): EtcdKey

    Permalink

    Returns an instance of EtcdKey from a list of node names.

    Returns an instance of EtcdKey from a list of node names.

    The key preserves the order of the list given as input.

    path

    A list of strings not containing "/", which are to be used as node names.

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hiddenNode(dir: String, node: String): EtcdKey

    Permalink

    Creates a well-formed instance of EtcdKey from a string that represents a path to a node and a string that represents the name of the node.

    Creates a well-formed instance of EtcdKey from a string that represents a path to a node and a string that represents the name of the node.

    For more information on hidden nodes see Creating a hidden node.

    dir

    the string representation of the directory.

    node

    the string representation of the node's name.

    returns

    A EtcdKey composed of a path and the name of a node prepended with '_'.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def key(dir: EtcdDirectory, key: String): EtcdKey

    Permalink

    Creates a well-formed instance of EtcdKey from a String that represents a path to an etcd node and a String that represents the name of the node.

    Creates a well-formed instance of EtcdKey from a String that represents a path to an etcd node and a String that represents the name of the node.

    dir

    the EtcdDirectory which will be appended with a name of a node.

    key

    the string representation of the name of the node.

  17. def key(key: String): EtcdKey

    Permalink

    Creates a well-formed instance of EtcdKey from a String that represents a path to an etcd node.

    Creates a well-formed instance of EtcdKey from a String that represents a path to an etcd node.

    key

    the String representation of the key

  18. def keyOfDirectory(dir: EtcdDirectory): EtcdKey

    Permalink

    Returns an instance of EtcdKey from a EtcdDirectory.

    Returns an instance of EtcdKey from a EtcdDirectory.

    An EtcdDirectory can be treated as an EtcdKey by dropping the closing '/'.

    dir

    the EtcdDirectory that is to be treated as a key.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toPath(key: EtcdKey): List[String]

    Permalink

    Returns a list of all node names in order.

    Returns a list of all node names in order.

    key

    An EtcdKey which is to be split in node names and placed in order into a list.

  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def value(value: String): EtcdValue

    Permalink

    Creates a well-formed instance of EtcdValue

    Creates a well-formed instance of EtcdValue

    value

    the string representation of the value

  26. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped