Packages

class KeyValueStorage extends AnyRef

Internal class for managing storage of key/values

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

Instance Constructors

  1. new KeyValueStorage()

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def createOrUpdate(key: String, newValue: Option[String], cas: Option[Int], acquire: Option[String], release: Option[String]): Boolean

    Attempts to create/update the provided key

    Attempts to create/update the provided key

    key

    The name/path of the key

    newValue

    The new (optional) value

    cas

    Optional compare-and-set

    acquire

    Optional acquire lock

    release

    Optional release

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getKeyValue(key: String): Option[KeyValue]

    In essence a non-blocking 'readKey'

  12. def getKeyValues: Map[String, KeyValue]

    Get all stored key/values

  13. def getKeysForPath(path: String): Seq[KeyValue]

    Simulates a recursive fetch of keys matching a path e.g /foo/bar

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def keyExists(key: String): Boolean

    Check if the provided key exists

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def readKey(key: String, index: Int, wait: FiniteDuration): Option[KeyValue]

    Attempts to perform a blocking read of a key

    Attempts to perform a blocking read of a key

    key

    The key to read

    index

    The modification index to block on

    wait

    The duration to block for

  21. def removeKey(key: String): Option[KeyValue]

    Removes the key and releases any potential blockers

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped