Class/Object

ackcord.cachehandlers

CacheSnapshotBuilder

Related Docs: object CacheSnapshotBuilder | package cachehandlers

Permalink

class CacheSnapshotBuilder extends CacheSnapshotId

A mutable builder for creating a new snapshot

Linear Supertypes
CacheSnapshotId, CacheSnapshot[Id], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CacheSnapshotBuilder
  2. CacheSnapshotId
  3. CacheSnapshot
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CacheSnapshotBuilder(botUser: @@[User, BotUser], dmChannelMap: Map[ChannelId, DMChannel], groupDmChannelMap: Map[ChannelId, GroupDMChannel], unavailableGuildMap: Map[GuildId, UnavailableGuild], guildMap: Map[GuildId, Guild], messageMap: Map[ChannelId, Map[MessageId, Message]], lastTypedMap: Map[ChannelId, Map[UserId, Instant]], userMap: Map[UserId, User], banMap: Map[GuildId, Map[UserId, Ban]])

    Permalink

Type Members

  1. type MapType[K, V] = Map[SnowflakeType[K], V]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. var banMap: Map[GuildId, Map[UserId, Ban]]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  6. var botUser: @@[User, BotUser]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. var dmChannelMap: Map[ChannelId, DMChannel]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getBan(guildId: GuildId, userId: UserId): OptionT[Id, Ban]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  13. def getChannel(id: ChannelId): OptionT[Id, Channel]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  14. def getChannelLastTyped(channelId: ChannelId): Id[Map[SnowflakeType[User], Instant]]

    Permalink

    Get a map of when users last typed in a channel.

    Get a map of when users last typed in a channel.

    Definition Classes
    CacheSnapshotBuilderCacheSnapshotId
  15. def getChannelMessages(channelId: ChannelId): Id[Map[SnowflakeType[Message], Message]]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getDmChannel(id: ChannelId): OptionT[Id, DMChannel]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  18. def getEmoji(id: EmojiId): OptionT[Id, Emoji]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  19. def getGroupDmChannel(id: ChannelId): OptionT[Id, GroupDMChannel]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  20. def getGuild(id: GuildId): OptionT[Id, Guild]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  21. def getGuildBans(id: GuildId): Id[Map[SnowflakeType[User], Ban]]

    Permalink

    Gets all the bans for a specific guild.

    Gets all the bans for a specific guild.

    Definition Classes
    CacheSnapshotBuilderCacheSnapshotId
  22. def getGuildChannel(id: ChannelId): OptionT[Id, GuildChannel]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  23. def getGuildChannel(guildId: GuildId, id: ChannelId): OptionT[Id, GuildChannel]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  24. def getGuildWithUnavailable(id: GuildId): OptionT[Id, UnknownStatusGuild]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  25. def getLastTyped(channelId: ChannelId, userId: UserId): OptionT[Id, Instant]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  26. def getMessage(messageId: MessageId): OptionT[Id, Message]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  27. def getMessage(channelId: ChannelId, messageId: MessageId): OptionT[Id, Message]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  28. def getPresence(guildId: GuildId, userId: UserId): OptionT[Id, Presence]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  29. def getRole(guildId: GuildId, roleId: RoleId): OptionT[Id, Role]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  30. def getRole(id: RoleId): OptionT[Id, Role]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  31. def getTChannel(id: ChannelId): OptionT[Id, TChannel]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  32. def getUser(id: UserId): OptionT[Id, User]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  33. def getUserDmChannel(id: UserId): OptionT[Id, DMChannel]

    Permalink
    Definition Classes
    CacheSnapshotId → CacheSnapshot
  34. var groupDmChannelMap: Map[ChannelId, GroupDMChannel]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  35. var guildMap: Map[GuildId, Guild]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  36. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  38. var lastTypedMap: Map[ChannelId, Map[UserId, Instant]]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  39. def mapK[G[_]](f: ~>[Id, G]): CacheSnapshot[G]

    Permalink
    Definition Classes
    CacheSnapshot
  40. var messageMap: Map[ChannelId, Map[MessageId, Message]]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  45. def toImmutable: MemoryCacheSnapshot

    Permalink
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. var unavailableGuildMap: Map[GuildId, UnavailableGuild]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  48. var userMap: Map[UserId, User]

    Permalink
    Definition Classes
    CacheSnapshotBuilder → CacheSnapshot
  49. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CacheSnapshotId

Inherited from CacheSnapshot[Id]

Inherited from AnyRef

Inherited from Any

Ungrouped