com.twitter.storehaus.algebra

ConvertedMergeableStore

class ConvertedMergeableStore[K1, -K2, V1, V2] extends storehaus.ConvertedStore[K1, K2, V1, V2] with MergeableStore[K2, V2]

Caveat Emptor! The monoid on the resulting ConvertedMergeableStore will be the bijected monoid from Monoid[V1] => Monoid[V2]. This will not necessarily result in the behavior you'd expect.

Linear Supertypes
MergeableStore[K2, V2], storehaus.ConvertedStore[K1, K2, V1, V2], Store[K2, V2], ConvertedReadableStore[K1, K2, V1, V2], AbstractReadableStore[K2, V2], ReadableStore[K2, V2], Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConvertedMergeableStore
  2. MergeableStore
  3. ConvertedStore
  4. Store
  5. ConvertedReadableStore
  6. AbstractReadableStore
  7. ReadableStore
  8. Closeable
  9. AutoCloseable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConvertedMergeableStore(store: MergeableStore[K1, V1])(kfn: (K2) ⇒ K1)(implicit bij: ImplicitBijection[V2, V1])

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(): Unit

    Definition Classes
    ConvertedMergeableStore → ConvertedStore → ConvertedReadableStore → ReadableStore → Closeable → AutoCloseable
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def get(k2: K2): Future[Option[V2]]

    Definition Classes
    ConvertedReadableStore → ReadableStore
  13. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  16. def merge(kv: (K2, V2)): Future[Unit]

    the key should hold: Monoid.

    the key should hold: Monoid.plus(get(kv._1).get, Some(kv._2)) after this.

    Definition Classes
    ConvertedMergeableStoreMergeableStore
  17. def monoid: Monoid[V2]

    The monoid equivalent to the merge operation of this store

    The monoid equivalent to the merge operation of this store

    Definition Classes
    ConvertedMergeableStoreMergeableStore
  18. def multiGet[K3 <: K2](s: Set[K3]): Map[K3, Future[Option[V2]]]

    Definition Classes
    ConvertedReadableStore → ReadableStore
  19. def multiMerge[K3 <: K2](kvs: Map[K3, V2]): Map[K3, Future[Unit]]

    merge a set of keys.

    merge a set of keys.

    Definition Classes
    ConvertedMergeableStoreMergeableStore
  20. def multiPut[K3 <: K2](kvs: Map[K3, Option[V2]]): Map[K3, Future[Unit]]

    Definition Classes
    ConvertedStore → Store
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def put(kv: (K2, Option[V2])): Future[Unit]

    Definition Classes
    ConvertedStore → Store
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MergeableStore[K2, V2]

Inherited from storehaus.ConvertedStore[K1, K2, V1, V2]

Inherited from Store[K2, V2]

Inherited from ConvertedReadableStore[K1, K2, V1, V2]

Inherited from AbstractReadableStore[K2, V2]

Inherited from ReadableStore[K2, V2]

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped