com.gilt.storeroom

IterableStore

trait IterableStore[K, V] extends Store[K, V]

Trait for stores which can be iterated over.

Linear Supertypes
Store[K, V], WritableStore[K, Option[V]], ReadableStore[K, V], Closeable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IterableStore
  2. Store
  3. WritableStore
  4. ReadableStore
  5. Closeable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def get(k: K): Future[Option[V]]

    Get a single value from the store, or None if no entry exists for the key.

    Get a single value from the store, or None if no entry exists for the key.

    Definition Classes
    ReadableStore
  2. abstract def getAll(limit: Int = Int.MaxValue, offset: Int = 0): Enumerator[(K, V)]

    Get all of the mappings in the store.

    Get all of the mappings in the store.

    Optionally, limit and offset may be specified to page through the entries in the store.

  3. abstract def put(kv: (K, Option[V])): Future[Unit]

    Add a new key-value pair to the store, or replace an existing mapping.

    Add a new key-value pair to the store, or replace an existing mapping.

    Definition Classes
    WritableStore

Concrete 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
    @throws( ... )
  6. def close(): Future[Unit]

    Call this method to close the Store when you are done using it.

    Call this method to close the Store when you are done using it.

    This method should be overridden by implementations if any actions need to be taken to close / disconnect from the store.

    Definition Classes
    WritableStoreCloseable
  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
  11. def hashCode(): Int

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

    Definition Classes
    Any
  13. def multiGet(ks: Set[K]): Map[K, Future[Option[V]]]

    Get mutiple values at once.

    Get mutiple values at once.

    A default implementation using get() is provided, but this should be overridden if a more efficient implementation exists for a particular backing store.

    Definition Classes
    ReadableStore
  14. def multiPut(kvs: Map[K, Option[V]]): Map[K, Future[Unit]]

    Add multiple values at once.

    Add multiple values at once.

    A default implementation using put() is provided, but this should be overridden if a more efficient implementation exists for a particular backing store.

    Definition Classes
    WritableStore
  15. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Store[K, V]

Inherited from WritableStore[K, Option[V]]

Inherited from ReadableStore[K, V]

Inherited from Closeable

Inherited from AnyRef

Inherited from Any

Ungrouped