groupcache.group

Group

class Group extends AnyRef

A group is a set of peers participating in a distributed cache. Values that are fetched from a group may be fetched locally (in process), or may instead be fetched from a peer.

A group holds two types of caches; a Main cache, which contains keys/values for which the current peer (process) is the owner; and a Hot cache, which contains keys/values for which the current peer (process) is not the owner, but for which the keys are accessed frequently enough that the data needs to be mirrored in this peer's cache.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Group
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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 cacheStats(cacheType: CacheType): CacheStats

    Gets cache usage statistics aggregated across this group.

    Gets cache usage statistics aggregated across this group.

    cacheType

    The type of cache of which to request statistics.

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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( classOf[java.lang.Throwable] )
  12. def get(key: String, context: Option[Any] = None): Future[ByteView]

    Gets the value with the given key.

    Gets the value with the given key. If the current peer is the owner of the key, the value will be fetched locally. Otherwise, the value will be fetched from a peer. If the key's value is not already loaded in the cache, this group's non-blocking getter will be invoked to load it.

    key
    context

    Optional, opaque context data that will be passed to the non-blocking getter when invoked.

    returns

    The Future value of the cache entry in the form of a byte view.

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. val groupStats: GroupStats

  15. def hashCode(): Int

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

    Definition Classes
    Any
  17. val name: String

    The name of this group.

  18. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped