com.twitter.storehaus.algebra

BufferingStore

class BufferingStore[K, V] extends BufferingMergeable[K, V] with MergeableStore[K, V]

A MergeableStore that does the same buffering as BufferingMergeable, but flushes on put/get.

Linear Supertypes
MergeableStore[K, V], Store[K, V], WritableStore[K, Option[V]], ReadableStore[K, V], BufferingMergeable[K, V], Mergeable[K, V], Closable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BufferingStore
  2. MergeableStore
  3. Store
  4. WritableStore
  5. ReadableStore
  6. BufferingMergeable
  7. Mergeable
  8. Closable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BufferingStore(store: MergeableStore[K, V], summerCons: SummerConstructor[K])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(time: Time): Future[Unit]

    Definition Classes
    WritableStore → Closable
  9. def close(after: Duration): Future[Unit]

    Definition Classes
    Closable
  10. final def close(): Future[Unit]

    Definition Classes
    Closable
  11. implicit val collector: FutureCollector[Any]

    Attributes
    protected
    Definition Classes
    BufferingMergeable
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flush: Future[Unit]

    Definition Classes
    BufferingMergeable
  16. def get(k: K): Future[Option[V]]

    Definition Classes
    ReadableStore
  17. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  20. def merge(kv: (K, V)): Future[Option[V]]

    Returns the value JUST BEFORE the merge.

    Returns the value JUST BEFORE the merge. If it is empty, it is like a zero. the key should hold: val (k,v) = kv result = get(k) key is set to: result.map(Semigroup.plus(_, Some(v)).getOrElse(v) after this.

    Definition Classes
    Mergeable
  21. def multiGet[K1 <: K](ks: Set[K1]): Map[K1, Future[Option[V]]]

    Definition Classes
    BufferingStore → ReadableStore
  22. def multiMerge[K1 <: K](kvs: Map[K1, V]): Map[K1, Future[Option[V]]]

    merge a set of keys.

    merge a set of keys.

    Definition Classes
    BufferingMergeableMergeable
  23. def multiPut[K1 <: K](kvs: Map[K1, Option[V]]): Map[K1, Future[Unit]]

    Definition Classes
    BufferingStore → WritableStore
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def put(kv: (K, Option[V])): Future[Unit]

    Definition Classes
    WritableStore
  28. def semigroup: Semigroup[V]

    The semigroup equivalent to the merge operation of this store

    The semigroup equivalent to the merge operation of this store

    Definition Classes
    BufferingMergeableMergeable
  29. val summer: StatefulSummer[Map[K, PromiseLink[V]]]

    Attributes
    protected
    Definition Classes
    BufferingMergeable
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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( ... )

Inherited from MergeableStore[K, V]

Inherited from Store[K, V]

Inherited from WritableStore[K, Option[V]]

Inherited from ReadableStore[K, V]

Inherited from BufferingMergeable[K, V]

Inherited from Mergeable[K, V]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped