o

ackcord

CacheStreams

object CacheStreams

Source
CacheStreams.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CacheStreams
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class GuildCacheEvent(event: CacheEvent, respondTo: ActorRef[(CacheEvent, CacheState)]) extends Product with Serializable

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 cacheStreams(cacheProcessor: CacheProcessor, bufferSize: PubSubBufferSize = PubSubBufferSize())(implicit system: ActorSystem[Nothing]): (Sink[CacheEvent, NotUsed], Source[(CacheEvent, CacheState), NotUsed])

    Creates a set of publish subscribe streams that go through the cache updated.

  6. def cacheStreamsCustom(updater: Flow[CacheEvent, (CacheEvent, CacheState), NotUsed], bufferSize: PubSubBufferSize = PubSubBufferSize())(implicit system: ActorSystem[Nothing]): (Sink[CacheEvent, NotUsed], Source[(CacheEvent, CacheState), NotUsed])

    Creates a set of publish subscribe streams that go through a custom cache update procedure you decide.

  7. def cacheUpdater(cacheBuilder: CacheSnapshotBuilder): Flow[CacheEvent, (CacheEvent, CacheState), NotUsed]

    A flow that keeps track of the current cache state, and updates it from cache update events.

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. def createApiMessages: Flow[(CacheEvent, CacheState), APIMessage, NotUsed]

    A flow that creates APIMessages from update events.

  10. def emptyStartingCache(cacheProcessor: CacheProcessor): CacheSnapshotBuilder

    Creates a new empty cache snapshot builder.

    Creates a new empty cache snapshot builder. This is not thread safe, and should not be updated from multiple threads at the same time.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def gatewayEvents[D](bufferSize: PubSubBufferSize = PubSubBufferSize())(implicit system: ActorSystem[Nothing]): (Sink[GatewayMessage[D], NotUsed], Source[GatewayMessage[D], NotUsed])

    Creates a set of publish subscribe streams for gateway events.

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def guildCacheBehavior(cacheBuilder: CacheSnapshotBuilder): Behavior[GuildCacheEvent]
  16. def guildCacheUpdater(guildCacheUpdateActor: ActorRef[GuildCacheEvent]): Flow[CacheEvent, (CacheEvent, CacheState), NotUsed]
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped