Packages

final class VersionedLDBKVStore extends KVStore

That source code had been copied/modified from ErgoPlatform Project

A LevelDB wrapper providing additional versioning layer along with a convenient db interface.

Linear Supertypes
KVStore, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VersionedLDBKVStore
  2. KVStore
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VersionedLDBKVStore(db: DB, keepVersions: Int)

Type Members

  1. type K = Array[Byte]
    Definition Classes
    KVStore
  2. type V = Array[Byte]
    Definition Classes
    KVStore

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. val ChangeSetPrefix: Byte
  5. val VersionsKey: Array[Byte]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def close(): Unit
    Definition Classes
    KVStore → AutoCloseable
  9. val db: DB
    Attributes
    protected
    Definition Classes
    VersionedLDBKVStoreKVStore
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def get(keys: Seq[K]): Seq[(K, Option[V])]
    Definition Classes
    KVStore
  13. def get(key: K): Option[V]
    Definition Classes
    KVStore
  14. def getAll: Seq[(K, V)]
    Definition Classes
    KVStore
  15. def getAll(cond: (K, V) ⇒ Boolean): Seq[(K, V)]
    Definition Classes
    KVStore
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getIterator: StorageIterator
  18. def getOrElse(key: K, default: ⇒ V): V
    Definition Classes
    KVStore
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def insert(toInsert: Seq[(K, V)])(version: VersionId): Unit
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val keepVersions: Int
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def remove(toRemove: Seq[K])(version: VersionId): Unit
  27. def rollbackTo(versionId: VersionId): Try[Unit]

    Rolls storage state back to the specified checkpoint.

    Rolls storage state back to the specified checkpoint.

    versionId

    - version id to roll back to

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def update(toInsert: Seq[(K, V)], toRemove: Seq[K])(version: VersionId): Unit

    Performs versioned update.

    Performs versioned update.

    toInsert

    - key, value pairs to be inserted/updated

    toRemove

    - keys to be removed

  31. def versionIdExists(versionId: VersionId): Boolean
  32. def versions: Seq[VersionId]
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. 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 KVStore

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped