case class MemoryCacheSnapshot(seq: Long, botUser: @@[User, BotUser], dmChannelMap: SnowflakeMap[DMChannel, DMChannel], groupDmChannelMap: SnowflakeMap[GroupDMChannel, GroupDMChannel], unavailableGuildMap: SnowflakeMap[Guild, UnavailableGuild], guildMap: SnowflakeMap[Guild, GatewayGuild], messageMap: SnowflakeMap[TextChannel, SnowflakeMap[Message, Message]], lastTypedMap: SnowflakeMap[TextChannel, SnowflakeMap[User, Instant]], userMap: SnowflakeMap[User, User], banMap: SnowflakeMap[Guild, SnowflakeMap[User, Ban]], processor: CacheProcessor) extends CacheSnapshotWithMaps with Product with Serializable
Represents the cache at some point in time
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MemoryCacheSnapshot
- Serializable
- Serializable
- Product
- Equals
- CacheSnapshotWithMaps
- CacheSnapshot
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new MemoryCacheSnapshot(seq: Long, botUser: @@[User, BotUser], dmChannelMap: SnowflakeMap[DMChannel, DMChannel], groupDmChannelMap: SnowflakeMap[GroupDMChannel, GroupDMChannel], unavailableGuildMap: SnowflakeMap[Guild, UnavailableGuild], guildMap: SnowflakeMap[Guild, GatewayGuild], messageMap: SnowflakeMap[TextChannel, SnowflakeMap[Message, Message]], lastTypedMap: SnowflakeMap[TextChannel, SnowflakeMap[User, Instant]], userMap: SnowflakeMap[User, User], banMap: SnowflakeMap[Guild, SnowflakeMap[User, Ban]], processor: CacheProcessor)
Type Members
-
type
MapType[K, V] = SnowflakeMap[K, V]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
banMap: SnowflakeMap[Guild, SnowflakeMap[User, Ban]]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
val
botUser: @@[User, BotUser]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
dmChannelMap: SnowflakeMap[DMChannel, DMChannel]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBan(guildId: GuildId, userId: UserId): Option[Ban]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getChannel(id: ChannelId): Option[Channel]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getChannelLastTyped(channelId: TextChannelId): SnowflakeMap[User, Instant]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
def
getChannelMessages(channelId: TextChannelId): SnowflakeMap[Message, Message]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDmChannel(id: SnowflakeType[DMChannel]): Option[DMChannel]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getEmoji(id: EmojiId): Option[Emoji]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getGroupDmChannel(id: SnowflakeType[GroupDMChannel]): Option[GroupDMChannel]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getGuild(id: GuildId): Option[GatewayGuild]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getGuildBans(id: GuildId): SnowflakeMap[User, Ban]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
def
getGuildChannel(id: GuildChannelId): Option[GuildChannel]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getGuildChannel(guildId: GuildId, id: GuildChannelId): Option[GuildChannel]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getGuildWithUnavailable(id: GuildId): Option[UnknownStatusGuild]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getLastTyped(channelId: TextChannelId, userId: UserId): Option[Instant]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getMessage(messageId: MessageId): Option[Message]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getMessage(channelId: TextChannelId, messageId: MessageId): Option[Message]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getPresence(guildId: GuildId, userId: UserId): Option[Presence]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getRole(guildId: GuildId, roleId: RoleId): Option[Role]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getRole(id: RoleId): Option[Role]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getTextChannel(id: TextChannelId): Option[TextChannel]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getThread(id: ThreadGuildChannelId): Option[ThreadGuildChannel]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getThread(guildId: GuildId, id: ThreadGuildChannelId): Option[ThreadGuildChannel]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getUser(id: UserId): Option[User]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
def
getUserDmChannel(id: UserId): Option[DMChannel]
- Definition Classes
- CacheSnapshotWithMaps → CacheSnapshot
-
val
groupDmChannelMap: SnowflakeMap[GroupDMChannel, GroupDMChannel]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
val
guildMap: SnowflakeMap[Guild, GatewayGuild]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
lastTypedMap: SnowflakeMap[TextChannel, SnowflakeMap[User, Instant]]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
val
messageMap: SnowflakeMap[TextChannel, SnowflakeMap[Message, Message]]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val processor: CacheProcessor
- val seq: Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
unavailableGuildMap: SnowflakeMap[Guild, UnavailableGuild]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
val
userMap: SnowflakeMap[User, User]
- Definition Classes
- MemoryCacheSnapshot → CacheSnapshot
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()