Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABNORMAL_CLOSE - Static variable in class discord4j.common.close.CloseStatus
- ActionMapper - Class in discord4j.common.store.api
-
Holds mappings between concrete
StoreAction
types and the code to execute when they are invoked. - ActionMapper.Builder - Class in discord4j.common.store.api
- after(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- after(byte[], int, int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- aggregate(ActionMapper...) - Static method in class discord4j.common.store.api.ActionMapper
-
Aggregates the mappings contained in the given
mappers
into a singleActionMapper
instance. - APPLICATION_NAME - Static variable in class discord4j.common.GitProperties
- APPLICATION_URL - Static variable in class discord4j.common.GitProperties
- APPLICATION_VERSION - Static variable in class discord4j.common.GitProperties
-
Use it on the properties given by
GitProperties.getProperties()
to get project version captured at build time. - apply(Publisher<T>) - Method in class discord4j.common.operator.RateLimitOperator
- asBigInteger() - Method in class discord4j.common.util.Snowflake
-
Gets the unsigned ID of this
Snowflake
as a BigInteger. - asLong() - Method in class discord4j.common.util.Snowflake
-
Gets the unsigned ID of this
Snowflake
as a primitive long. - asLong(Id) - Static method in class discord4j.common.util.Snowflake
-
Constructs a
Snowflake
represented as along
utilizing a discord-jsonId
. - asLong(String) - Static method in class discord4j.common.util.Snowflake
-
Constructs a
Snowflake
represented as along
utilizing an unsigned ID. - asString() - Method in class discord4j.common.util.Snowflake
-
Gets the unsigned ID of this
Snowflake
as an object String. - asString(long) - Static method in class discord4j.common.util.Snowflake
-
Constructs a
Snowflake
represented as aString
utilizing an unsigned ID.
B
- before() - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- Beta - Annotation Interface in discord4j.common.annotations
-
A feature in beta state, API signature may change between releases.
- blockingTaskScheduler(Scheduler) - Method in class discord4j.common.ReactorResources.Builder
-
Sets the
Scheduler
to use for potentially blocking tasks. - blocks(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.poly1305
- box(byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- box(byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- box(byte[], byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- box(byte[], byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- box(byte[], int) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- box(byte[], int) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- box(byte[], int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- box(byte[], int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- box(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- box(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- box(byte[], int, int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- box(byte[], int, int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- Box(byte[], byte[]) - Constructor for class com.iwebpp.crypto.TweetNaclFast.Box
- Box(byte[], byte[], long) - Constructor for class com.iwebpp.crypto.TweetNaclFast.Box
- boxzerobytesLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Box
- boxzerobytesLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- build() - Method in class discord4j.common.ReactorResources.Builder
-
Create the
ReactorResources
. - build() - Method in class discord4j.common.retry.ReconnectOptions.Builder
- build() - Method in class discord4j.common.store.api.ActionMapper.Builder
-
Builds an
ActionMapper
with all declared mappings. - build() - Method in class discord4j.common.store.impl.StorageConfig.Builder
-
Builds the
StorageConfig
. - builder() - Static method in class discord4j.common.ReactorResources
- builder() - Static method in class discord4j.common.retry.ReconnectOptions
-
Create a new builder for
ReconnectOptions
. - builder() - Static method in class discord4j.common.store.api.ActionMapper
-
Initializes a new builder for an
ActionMapper
. - builder() - Static method in class discord4j.common.store.impl.StorageConfig
-
Creates a new builder to customize a
StorageConfig
. - Builder() - Constructor for class discord4j.common.ReactorResources.Builder
- Builder() - Constructor for class discord4j.common.retry.ReconnectOptions.Builder
C
- caffeine(UnaryOperator<Caffeine<Object, Object>>) - Static method in interface discord4j.common.store.impl.StorageBackend
-
Represents a
Caffeine
backend with the given configuration. - channelCreate(int, ChannelCreate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
ChannelCreate
is received from the gateway. - ChannelCreateAction - Class in discord4j.common.store.action.gateway
- channelDelete(int, ChannelDelete) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
ChannelDelete
is received from the gateway. - ChannelDeleteAction - Class in discord4j.common.store.action.gateway
- CHANNELS - Enum constant in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
- CHANNELS - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
- channelUpdate(int, ChannelUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
ChannelUpdate
is received from the gateway. - ChannelUpdateAction - Class in discord4j.common.store.action.gateway
- clear() - Method in class discord4j.common.retry.ReconnectContext
-
Clear the attempt count, treating further calls to
ReconnectContext.next()
as brand new retry context. - clearContext() - Static method in class discord4j.common.LogUtil
- CloseException - Exception in discord4j.common.close
-
Unchecked exception thrown when closing a websocket session, expectedly or not.
- CloseException(CloseStatus, ContextView) - Constructor for exception discord4j.common.close.CloseException
-
Create a
CloseException
with the given status and Reactor context. - CloseException(CloseStatus, ContextView, Throwable) - Constructor for exception discord4j.common.close.CloseException
-
Create a
CloseException
with the given status, Reactor context and cause. - CloseStatus - Class in discord4j.common.close
-
Container for WebSocket "close" status codes and reasons.
- CloseStatus(int, String) - Constructor for class discord4j.common.close.CloseStatus
-
Create a new
CloseStatus
instance. - com.iwebpp.crypto - package com.iwebpp.crypto
- compareTo(Snowflake) - Method in class discord4j.common.util.Snowflake
-
Compares this snowflake to the specified snowflake.
- completeGuildMembers(long) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action that allows to signal that the full member list for the specified guild has been received.
- CompleteGuildMembersAction - Class in discord4j.common.store.action.gateway
- concurrentHashMap() - Static method in interface discord4j.common.store.impl.StorageBackend
-
Represents a
ConcurrentHashMap
backend. - countChannels() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of channels present in a store.
- countChannels() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of channels present in the store.
- countChannels() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countChannels() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countChannelsInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of channels present in a store for the given guild ID.
- countChannelsInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of channels present in the store for the given guild ID.
- countChannelsInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countChannelsInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countEmojis() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of emojis present in a store.
- countEmojis() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of emojis present in the store.
- countEmojis() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countEmojis() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countEmojisInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of emojis present in a store for the given guild ID.
- countEmojisInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of emojis present in the store for the given guild ID.
- countEmojisInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countEmojisInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countExactMembersInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the exact number of members for the given guild ID.
- countExactMembersInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the exact number of members for the given guild ID.
- countExactMembersInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countExactMembersInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countGuilds() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of guilds present in a store.
- countGuilds() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of guilds present in the store.
- countGuilds() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countGuilds() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- CountInGuildAction - Class in discord4j.common.store.action.read
- CountInGuildAction.InGuildEntity - Enum Class in discord4j.common.store.action.read
- countMembers() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of members present in a store.
- countMembers() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of members present in the store.
- countMembers() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countMembers() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countMembersInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of members present in a store for the given guild ID.
- countMembersInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of members present in the store for the given guild ID.
- countMembersInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countMembersInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countMessages() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of messages present in a store.
- countMessages() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of messages present in the store.
- countMessages() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countMessages() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countMessagesInChannel(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of messages present in a store for the given channel ID.
- countMessagesInChannel(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of messages present in the store for the given channel ID.
- countMessagesInChannel(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countMessagesInChannel(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- CountMessagesInChannelAction - Class in discord4j.common.store.action.read
- countPresences() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of presences present in a store.
- countPresences() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of presences present in the store.
- countPresences() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countPresences() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countPresencesInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of presences present in a store for the given guild ID.
- countPresencesInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of presences present in the store for the given guild ID.
- countPresencesInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countPresencesInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countRoles() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of roles present in a store.
- countRoles() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of roles present in the store.
- countRoles() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countRoles() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countRolesInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of roles present in a store for the given guild ID.
- countRolesInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of roles present in the store for the given guild ID.
- countRolesInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countRolesInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countStickers() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of stickers present in the store.
- countStickers() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countStickers() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countStickersInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of stickers present in the store for the given guild ID.
- countStickersInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countStickersInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- CountTotalAction - Class in discord4j.common.store.action.read
- CountTotalAction.CountableEntity - Enum Class in discord4j.common.store.action.read
- countUsers() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of users present in a store.
- countUsers() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of users present in the store.
- countUsers() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countUsers() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countVoiceStates() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of voice states present in a store.
- countVoiceStates() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of voice states present in the store.
- countVoiceStates() - Method in class discord4j.common.store.impl.LocalStoreLayout
- countVoiceStates() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- countVoiceStatesInChannel(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of voice states present in a store for the given guild ID and channel ID.
- countVoiceStatesInChannel(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of voice states present in the store for the given channel ID.
- countVoiceStatesInChannel(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countVoiceStatesInChannel(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- CountVoiceStatesInChannelAction - Class in discord4j.common.store.action.read
- countVoiceStatesInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to count the number of voice states present in a store for the given guild ID.
- countVoiceStatesInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Counts the number of voice states present in the store for the given guild ID.
- countVoiceStatesInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- countVoiceStatesInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- create() - Static method in class discord4j.common.JacksonResources
-
Create with a pre-configured
ObjectMapper
for all Discord4J related operations. - create() - Static method in class discord4j.common.ReactorResources
- create() - Static method in class discord4j.common.retry.ReconnectOptions
-
Create a default
ReconnectOptions
. - create() - Static method in class discord4j.common.store.impl.LocalStoreLayout
- create(StorageConfig) - Static method in class discord4j.common.store.impl.LocalStoreLayout
- createFromObjectMapper(ObjectMapper) - Static method in class discord4j.common.JacksonResources
-
Create based on
ObjectMapper
applying on it all changes required for Discord4J related operations. - crypto_box(byte[], byte[], int, byte[], byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_box_afternm(byte[], byte[], int, byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_box_beforenm(byte[], byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_box_keypair(byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_box_open(byte[], byte[], int, byte[], byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_box_open_afternm(byte[], byte[], int, byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_core_hsalsa20(byte[], byte[], byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_core_salsa20(byte[], byte[], byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_hash(byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_hash(byte[], byte[], int, int) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_onetimeauth(byte[], byte[], int, byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_onetimeauth_verify(byte[], byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_onetimeauth_verify(byte[], byte[], int, byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_scalarmult(byte[], byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_scalarmult_base(byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_secretbox(byte[], byte[], int, byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_secretbox_open(byte[], byte[], int, byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_sign(byte[], long, byte[], int, int, byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_sign_keypair(byte[], byte[], boolean) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_sign_open(byte[], long, byte[], int, int, byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_stream(byte[], int, long, byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_stream_salsa20(byte[], int, long, byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_stream_xor(byte[], int, byte[], int, long, byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_verify_16(byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- crypto_verify_32(byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
D
- DataAccessor - Interface in discord4j.common.store.api.layout
-
Defines methods to handle read operations on a store.
- DEFAULT - Enum constant in enum class discord4j.common.util.TimestampFormat
-
Example:
20 April 2021 16:20
- DEFAULT_BACKOFF_SCHEDULER - Static variable in class discord4j.common.retry.ReconnectOptions
- DEFAULT_BLOCKING_TASK_SCHEDULER - Static variable in class discord4j.common.ReactorResources
- DEFAULT_HTTP_CLIENT - Static variable in class discord4j.common.ReactorResources
- DEFAULT_TIMER_TASK_SCHEDULER - Static variable in class discord4j.common.ReactorResources
- detached(byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Signature
- detached_verify(byte[], byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Signature
- DisconnectBehavior - Class in discord4j.common.close
-
Encapsulates a strategy to deal with the closing and release of a resource.
- DisconnectBehavior.Action - Enum Class in discord4j.common.close
-
The action to trigger to close a resource.
- DISCORD_EPOCH - Static variable in class discord4j.common.util.Snowflake
-
The UNIX time that represents Discord's epoch (January 1, 2015).
- discord4j.common - package discord4j.common
-
Common classes and utilities used across modules.
- discord4j.common.annotations - package discord4j.common.annotations
-
Common annotations used across modules.
- discord4j.common.close - package discord4j.common.close
-
Utility classes to handle closing behavior.
- discord4j.common.jackson - package discord4j.common.jackson
- discord4j.common.operator - package discord4j.common.operator
- discord4j.common.retry - package discord4j.common.retry
- discord4j.common.sinks - package discord4j.common.sinks
-
Supporting classes for operating with Reactor Sinks API.
- discord4j.common.store - package discord4j.common.store
- discord4j.common.store.action.gateway - package discord4j.common.store.action.gateway
- discord4j.common.store.action.read - package discord4j.common.store.action.read
- discord4j.common.store.api - package discord4j.common.store.api
- discord4j.common.store.api.layout - package discord4j.common.store.api.layout
- discord4j.common.store.api.object - package discord4j.common.store.api.object
- discord4j.common.store.impl - package discord4j.common.store.impl
- discord4j.common.store.legacy - package discord4j.common.store.legacy
- discord4j.common.util - package discord4j.common.util
-
Common classes and utilities used across modules.
E
- EmissionStrategy - Interface in discord4j.common.sinks
-
A strategy to handle emission failures to a
Sinks.Many
instance. - emitComplete(Sinks.Many<T>) - Method in interface discord4j.common.sinks.EmissionStrategy
-
Try to terminate the given
sink
successfully, respecting the semantics ofSinks.Many.tryEmitComplete()
and the failure handling ofSinks.Many.emitComplete(Sinks.EmitFailureHandler)
. - emitError(Sinks.Many<T>, Throwable) - Method in interface discord4j.common.sinks.EmissionStrategy
-
Try to fail the given
sink
, respecting the semantics ofSinks.Many.tryEmitError(Throwable)
and the failure handling ofSinks.Many.emitError(Throwable, Sinks.EmitFailureHandler)
. - emitNext(Sinks.Many<T>, T) - Method in interface discord4j.common.sinks.EmissionStrategy
-
Try emitting a given
element
to the specifiedsink
, respecting the semantics ofSinks.Many.tryEmitNext(Object)
and the failure handling ofSinks.Many.emitNext(Object, Sinks.EmitFailureHandler)
. - EMOJIS - Enum constant in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
- EMOJIS - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
- empty() - Static method in class discord4j.common.store.api.ActionMapper
-
Returns an
ActionMapper
containing no mappings. - equals(Object) - Method in class discord4j.common.store.api.object.PresenceAndUserData
- equals(Object) - Method in class discord4j.common.util.Snowflake
-
Indicates whether some other object is "equal to" this
Snowflake
. - ExactResultNotAvailableException - Exception in discord4j.common.store.api.object
-
Thrown to indicate that the store cannot return a result as it doesn't have all the necessary information stored.
- ExactResultNotAvailableException() - Constructor for exception discord4j.common.store.api.object.ExactResultNotAvailableException
- execute(StoreAction<R>) - Method in class discord4j.common.store.Store
-
Executes the given action.
- Experimental - Annotation Interface in discord4j.common.annotations
-
An experimental feature that can be removed or have signature and behavior changes between releases.
F
- findHandlerForAction(StoreAction<R>) - Method in class discord4j.common.store.api.ActionMapper
-
Retrieves the handler associated to the given action based on its concrete type.
- finish(byte[], int) - Method in class com.iwebpp.crypto.TweetNaclFast.poly1305
- format(Instant) - Method in enum class discord4j.common.util.TimestampFormat
-
Gets the markdown representation of the provided
Instant
for this style. - format(ContextView, String) - Static method in class discord4j.common.LogUtil
-
Format a message by unwrapping certain
ContextView
values as metadata, and if they exist, prepend them to the given message. - formatValue(Object, int) - Static method in class discord4j.common.LogUtil
- fromLayout(StoreLayout) - Static method in class discord4j.common.store.Store
-
Creates a new
Store
that will handle actions according to the given layout.
G
- GatewayActions - Class in discord4j.common.store.action.gateway
-
Provides static factories to obtain
StoreAction
instances that enable updating data in a store in response to an event received from the Discord gateway. - GatewayDataUpdater - Interface in discord4j.common.store.api.layout
-
Defines methods to handle update operations in response to events received from the Discord gateway.
- getAction() - Method in class discord4j.common.close.DisconnectBehavior
-
Returns the action to perform while closing a resource.
- getAttempts() - Method in class discord4j.common.retry.ReconnectContext
- getAutoModRuleById(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the automod rule corresponding to the given guild ID and automod rule ID.
- GetAutoModRuleByIdAction - Class in discord4j.common.store.action.read
- getAutoModRuleId() - Method in class discord4j.common.store.action.read.GetAutoModRuleByIdAction
- getAutoModRulesInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all automod rules present in a store for the given guild ID.
- GetAutoModRulesInGuildAction - Class in discord4j.common.store.action.read
- getBackoff() - Method in class discord4j.common.retry.ReconnectOptions
-
Deprecated.
- getBackoffScheduler() - Method in class discord4j.common.retry.ReconnectOptions
-
Returns a scheduler provided every reconnect attempt, as backoff delay.
- getBlockingTaskScheduler() - Method in class discord4j.common.ReactorResources
-
Get the
Scheduler
configured by this provider to be used in blocking tasks. - getCause() - Method in class discord4j.common.close.DisconnectBehavior
-
Returns the cause that triggered this close intent.
- getCause() - Method in class discord4j.common.store.action.gateway.InvalidateShardAction
- getChannelById(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the channel corresponding to the given channel ID.
- getChannelById(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the channel corresponding to the given channel ID.
- getChannelById(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getChannelById(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetChannelByIdAction - Class in discord4j.common.store.action.read
- getChannelCreate() - Method in class discord4j.common.store.action.gateway.ChannelCreateAction
- getChannelDelete() - Method in class discord4j.common.store.action.gateway.ChannelDeleteAction
- getChannelId() - Method in class discord4j.common.store.action.read.CountMessagesInChannelAction
- getChannelId() - Method in class discord4j.common.store.action.read.CountVoiceStatesInChannelAction
- getChannelId() - Method in class discord4j.common.store.action.read.GetChannelByIdAction
- getChannelId() - Method in class discord4j.common.store.action.read.GetMessageByIdAction
- getChannelId() - Method in class discord4j.common.store.action.read.GetMessagesInChannelAction
- getChannelId() - Method in class discord4j.common.store.action.read.GetStageInstanceByChannelIdAction
- getChannelId() - Method in class discord4j.common.store.action.read.GetVoiceStatesInChannelAction
- getChannels() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all channels present in a store.
- getChannels() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all channels present in the store.
- getChannels() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getChannels() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetChannelsAction - Class in discord4j.common.store.action.read
- getChannelsInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all channels present in a store for the given guild ID.
- getChannelsInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all channels present in the store for the given guild ID.
- getChannelsInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getChannelsInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetChannelsInGuildAction - Class in discord4j.common.store.action.read
- getChannelStore() - Method in class discord4j.common.store.legacy.StateHolder
- getChannelUpdate() - Method in class discord4j.common.store.action.gateway.ChannelUpdateAction
- getCloseStatus() - Method in exception discord4j.common.close.CloseException
-
Return the underlying
CloseStatus
that triggered this exception. - getCode() - Method in exception discord4j.common.close.CloseException
-
Return the websocket close code.
- getCode() - Method in class discord4j.common.close.CloseStatus
-
Return the websocket close code.
- getContext() - Method in exception discord4j.common.close.CloseException
-
Return the Reactor
ContextView
providing metadata about this exception. - getCustomActionMapper() - Method in interface discord4j.common.store.api.layout.StoreLayout
-
Defines a mapping for custom action types.
- getDataAccessor() - Method in interface discord4j.common.store.api.layout.StoreLayout
-
Returns a
DataAccessor
that defines action handlers for reading data from the store. - getDataAccessor() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getDataAccessor() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- getEmojiById(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the emoji corresponding to the given guild ID and emoji ID.
- getEmojiById(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the emoji corresponding to the given guild ID and emoji ID.
- getEmojiById(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getEmojiById(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetEmojiByIdAction - Class in discord4j.common.store.action.read
- getEmojiId() - Method in class discord4j.common.store.action.read.GetEmojiByIdAction
- getEmojis() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all emojis present in a store.
- getEmojis() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all emojis present in the store.
- getEmojis() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getEmojis() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetEmojisAction - Class in discord4j.common.store.action.read
- getEmojisInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all emojis present in a store for the given guild ID.
- getEmojisInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all emojis present in the store for the given guild ID.
- getEmojisInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getEmojisInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetEmojisInGuildAction - Class in discord4j.common.store.action.read
- getEntity() - Method in class discord4j.common.store.action.read.CountInGuildAction
- getEntity() - Method in class discord4j.common.store.action.read.CountTotalAction
- getExactMembersInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all members for the given guild ID.
- getExactMembersInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all members for the given guild ID.
- getExactMembersInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getExactMembersInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetExactMembersInGuildAction - Class in discord4j.common.store.action.read
- getFirstBackoff() - Method in class discord4j.common.retry.ReconnectContext
- getFirstBackoff() - Method in class discord4j.common.retry.ReconnectOptions
-
Return the minimum backoff duration.
- getGatewayDataUpdater() - Method in interface discord4j.common.store.api.layout.StoreLayout
-
Returns a
GatewayDataUpdater
that defines action handlers for updates received from the Discord gateway. - getGatewayDataUpdater() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getGatewayDataUpdater() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- getGuildById(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the guild corresponding to the given guild ID.
- getGuildById(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the guild corresponding to the given guild ID.
- getGuildById(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getGuildById(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetGuildByIdAction - Class in discord4j.common.store.action.read
- getGuildCreate() - Method in class discord4j.common.store.action.gateway.GuildCreateAction
- getGuildDelete() - Method in class discord4j.common.store.action.gateway.GuildDeleteAction
- getGuildEmojiStore() - Method in class discord4j.common.store.legacy.StateHolder
- getGuildEmojisUpdate() - Method in class discord4j.common.store.action.gateway.GuildEmojisUpdateAction
- getGuildId() - Method in class discord4j.common.store.action.gateway.CompleteGuildMembersAction
- getGuildId() - Method in class discord4j.common.store.action.read.CountInGuildAction
- getGuildId() - Method in class discord4j.common.store.action.read.CountVoiceStatesInChannelAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetAutoModRuleByIdAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetAutoModRulesInGuildAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetChannelsInGuildAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetEmojiByIdAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetEmojisInGuildAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetExactMembersInGuildAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetGuildByIdAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetMemberByIdAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetMembersInGuildAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetPresenceByIdAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetPresencesInGuildAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetRoleByIdAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetRolesInGuildAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetStickerByIdAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetStickersInGuildAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetVoiceStateByIdAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetVoiceStatesInChannelAction
- getGuildId() - Method in class discord4j.common.store.action.read.GetVoiceStatesInGuildAction
- getGuildMemberAdd() - Method in class discord4j.common.store.action.gateway.GuildMemberAddAction
- getGuildMemberRemove() - Method in class discord4j.common.store.action.gateway.GuildMemberRemoveAction
- getGuildMembersChunk() - Method in class discord4j.common.store.action.gateway.GuildMembersChunkAction
- getGuildMemberUpdate() - Method in class discord4j.common.store.action.gateway.GuildMemberUpdateAction
- getGuildRoleCreate() - Method in class discord4j.common.store.action.gateway.GuildRoleCreateAction
- getGuildRoleDelete() - Method in class discord4j.common.store.action.gateway.GuildRoleDeleteAction
- getGuildRoleUpdate() - Method in class discord4j.common.store.action.gateway.GuildRoleUpdateAction
- getGuilds() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all guilds present in a store.
- getGuilds() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all guilds present in the store.
- getGuilds() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getGuilds() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetGuildsAction - Class in discord4j.common.store.action.read
- getGuildStickerStore() - Method in class discord4j.common.store.legacy.StateHolder
- getGuildStickersUpdate() - Method in class discord4j.common.store.action.gateway.GuildStickersUpdateAction
- getGuildStore() - Method in class discord4j.common.store.legacy.StateHolder
- getGuildUpdate() - Method in class discord4j.common.store.action.gateway.GuildUpdateAction
- getHttpClient() - Method in class discord4j.common.ReactorResources
-
Get the
HttpClient
configured by this provider. - getInvalidationFilter() - Method in class discord4j.common.store.impl.StorageConfig
-
Returns the filter represented as a subset of
InvalidationCause
to apply when a shard is invalidated. - getJitter() - Method in class discord4j.common.retry.ReconnectOptions
-
Deprecated.only select implementations will use this value. Moving forward, consider also using
ReconnectOptions.getJitterFactor()
- getJitterFactor() - Method in class discord4j.common.retry.ReconnectOptions
-
Retrieve the jitter factor to be applied on each backoff delay.
- getMaxBackoffInterval() - Method in class discord4j.common.retry.ReconnectContext
- getMaxBackoffInterval() - Method in class discord4j.common.retry.ReconnectOptions
-
Return the maximum backoff duration.
- getMaxRetries() - Method in class discord4j.common.retry.ReconnectOptions
-
Returns the number of retries.
- getMemberById(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the member corresponding to the given guild ID and user ID.
- getMemberById(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the member corresponding to the given guild ID and user ID.
- getMemberById(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getMemberById(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetMemberByIdAction - Class in discord4j.common.store.action.read
- getMembers() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all members present in a store.
- getMembers() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all members present in the store.
- getMembers() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getMembers() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetMembersAction - Class in discord4j.common.store.action.read
- getMembersInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all members present in a store for the given guild ID.
- getMembersInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all members present in the store for the given guild ID.
- getMembersInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getMembersInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetMembersInGuildAction - Class in discord4j.common.store.action.read
- getMembersInThread(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all thread members present in a store for the given thread ID.
- getMembersInThread(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all thread members present in the store for the given thread ID.
- getMembersInThread(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getMembersInThread(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetMembersInThreadAction - Class in discord4j.common.store.action.read
- getMemberStore() - Method in class discord4j.common.store.legacy.StateHolder
- getMessage() - Method in exception discord4j.common.close.CloseException
- getMessageBackend() - Method in class discord4j.common.store.impl.StorageConfig
-
Returns the
StorageBackend
to use for message caching. - getMessageById(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the message corresponding to the given channel ID and message ID.
- getMessageById(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the message corresponding to the given channel ID and message ID.
- getMessageById(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getMessageById(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetMessageByIdAction - Class in discord4j.common.store.action.read
- getMessageCreate() - Method in class discord4j.common.store.action.gateway.MessageCreateAction
- getMessageDelete() - Method in class discord4j.common.store.action.gateway.MessageDeleteAction
- getMessageDeleteBulk() - Method in class discord4j.common.store.action.gateway.MessageDeleteBulkAction
- getMessageId() - Method in class discord4j.common.store.action.read.GetMessageByIdAction
- getMessageReactionAdd() - Method in class discord4j.common.store.action.gateway.MessageReactionAddAction
- getMessageReactionRemove() - Method in class discord4j.common.store.action.gateway.MessageReactionRemoveAction
- getMessageReactionRemoveAll() - Method in class discord4j.common.store.action.gateway.MessageReactionRemoveAllAction
- getMessageReactionRemoveEmoji() - Method in class discord4j.common.store.action.gateway.MessageReactionRemoveEmojiAction
- getMessages() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all messages present in a store.
- getMessages() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all messages present in the store.
- getMessages() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getMessages() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetMessagesAction - Class in discord4j.common.store.action.read
- getMessagesInChannel(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all messages present in a store for the given channel ID.
- getMessagesInChannel(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all messages present in the store for the given channel ID.
- getMessagesInChannel(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getMessagesInChannel(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetMessagesInChannelAction - Class in discord4j.common.store.action.read
- getMessageStore() - Method in class discord4j.common.store.legacy.StateHolder
- getMessageUpdate() - Method in class discord4j.common.store.action.gateway.MessageUpdateAction
- getNonce() - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- getNonce() - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- getObjectMapper() - Method in class discord4j.common.JacksonResources
-
Get the
ObjectMapper
configured by this provider. - getPresenceById(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the presence corresponding to the given guild ID and user ID.
- getPresenceById(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the presence corresponding to the given guild ID and user ID.
- getPresenceById(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getPresenceById(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetPresenceByIdAction - Class in discord4j.common.store.action.read
- getPresenceData() - Method in class discord4j.common.store.api.object.PresenceAndUserData
-
Returns the presence data, if present.
- getPresences() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all presences present in a store.
- getPresences() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all presences present in the store.
- getPresences() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getPresences() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetPresencesAction - Class in discord4j.common.store.action.read
- getPresencesInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all presences present in a store for the given guild ID.
- getPresencesInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all presences present in the store for the given guild ID.
- getPresencesInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getPresencesInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetPresencesInGuildAction - Class in discord4j.common.store.action.read
- getPresenceStore() - Method in class discord4j.common.store.legacy.StateHolder
- getPresenceUpdate() - Method in class discord4j.common.store.action.gateway.PresenceUpdateAction
- getProperties() - Static method in class discord4j.common.GitProperties
-
Load a
Properties
object with application version data. - getPublicKey() - Method in class com.iwebpp.crypto.TweetNaclFast.Box.KeyPair
- getPublicKey() - Method in class com.iwebpp.crypto.TweetNaclFast.Signature.KeyPair
- getReady() - Method in class discord4j.common.store.action.gateway.ReadyAction
- getReason() - Method in exception discord4j.common.close.CloseException
-
Return a websocket close reason, if present.
- getReason() - Method in class discord4j.common.close.CloseStatus
-
Return a websocket close reason, if present.
- getResetCount() - Method in class discord4j.common.retry.ReconnectContext
- getRoleById(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the role corresponding to the given guild ID and role ID.
- getRoleById(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the role corresponding to the given guild ID and role ID.
- getRoleById(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getRoleById(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetRoleByIdAction - Class in discord4j.common.store.action.read
- getRoleId() - Method in class discord4j.common.store.action.read.GetRoleByIdAction
- getRoles() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all roles present in a store.
- getRoles() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all roles present in the store.
- getRoles() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getRoles() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetRolesAction - Class in discord4j.common.store.action.read
- getRolesInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all roles present in a store for the given guild ID.
- getRolesInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all roles present in the store for the given guild ID.
- getRolesInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getRolesInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetRolesInGuildAction - Class in discord4j.common.store.action.read
- getRoleStore() - Method in class discord4j.common.store.legacy.StateHolder
- getSecretKey() - Method in class com.iwebpp.crypto.TweetNaclFast.Box.KeyPair
- getSecretKey() - Method in class com.iwebpp.crypto.TweetNaclFast.Signature.KeyPair
- getSelfId(String) - Static method in class discord4j.common.util.TokenUtil
-
Extracts the bot user's ID from the token used to authenticate requests.
- getShardIndex() - Method in class discord4j.common.store.action.gateway.MessageCreateAction
- getStageInstanceByChannelId(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the stage instance corresponding to the given channel ID.
- getStageInstanceByChannelId(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the stage instance corresponding to the given channel ID.
- getStageInstanceByChannelId(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getStageInstanceByChannelId(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetStageInstanceByChannelIdAction - Class in discord4j.common.store.action.read
- getStageInstanceCreate() - Method in class discord4j.common.store.action.gateway.StageInstanceCreateAction
- getStageInstanceDelete() - Method in class discord4j.common.store.action.gateway.StageInstanceDeleteAction
- getStageInstanceStore() - Method in class discord4j.common.store.legacy.StateHolder
- getStageInstanceUpdate() - Method in class discord4j.common.store.action.gateway.StageInstanceUpdateAction
- getStickerById(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the sticker corresponding to the given guild ID and sticker ID.
- getStickerById(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the sticker corresponding to the given guild ID and sticker ID.
- getStickerById(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getStickerById(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetStickerByIdAction - Class in discord4j.common.store.action.read
- getStickerId() - Method in class discord4j.common.store.action.read.GetStickerByIdAction
- getStickers() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all stickers present in the store.
- getStickers() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getStickers() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetStickersAction - Class in discord4j.common.store.action.read
- getStickersInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all stickers present in a store for the given guild ID.
- getStickersInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all stickers present in the store for the given guild ID.
- getStickersInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getStickersInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetStickersInGuildAction - Class in discord4j.common.store.action.read
- getStoreService() - Method in class discord4j.common.store.legacy.StateHolder
- getStyle() - Method in enum class discord4j.common.util.TimestampFormat
-
Get the style (1 character) for this timestamp format.
- getThreadCreate() - Method in class discord4j.common.store.action.gateway.ThreadCreateAction
- getThreadDelete() - Method in class discord4j.common.store.action.gateway.ThreadDeleteAction
- getThreadId() - Method in class discord4j.common.store.action.read.GetMembersInThreadAction
- getThreadId() - Method in class discord4j.common.store.action.read.GetThreadMemberByIdAction
- getThreadListSync() - Method in class discord4j.common.store.action.gateway.ThreadListSyncAction
- getThreadMemberById(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the thread member corresponding to the given thread ID and user ID.
- getThreadMemberById(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the thread member corresponding to the given thread ID and user ID.
- getThreadMemberById(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getThreadMemberById(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetThreadMemberByIdAction - Class in discord4j.common.store.action.read
- getThreadMemberStore() - Method in class discord4j.common.store.legacy.StateHolder
- getThreadMembersUpdate() - Method in class discord4j.common.store.action.gateway.ThreadMembersUpdateAction
- getThreadMemberUpdate() - Method in class discord4j.common.store.action.gateway.ThreadMemberUpdateAction
- getThreadUpdate() - Method in class discord4j.common.store.action.gateway.ThreadUpdateAction
- getTimerTaskScheduler() - Method in class discord4j.common.ReactorResources
-
Get the
Scheduler
configured by this provider to be used in timed tasks. - getTimestamp() - Method in class discord4j.common.util.Snowflake
-
Gets the timestamp of this
Snowflake
. - getUserById(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the user corresponding to the given user ID.
- getUserById(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the user corresponding to the given user ID.
- getUserById(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getUserById(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetUserByIdAction - Class in discord4j.common.store.action.read
- getUserData() - Method in class discord4j.common.store.api.object.PresenceAndUserData
-
Returns the user data, if present.
- getUserId() - Method in class discord4j.common.store.action.read.GetMemberByIdAction
- getUserId() - Method in class discord4j.common.store.action.read.GetPresenceByIdAction
- getUserId() - Method in class discord4j.common.store.action.read.GetThreadMemberByIdAction
- getUserId() - Method in class discord4j.common.store.action.read.GetUserByIdAction
- getUserId() - Method in class discord4j.common.store.action.read.GetVoiceStateByIdAction
- getUsers() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all users present in a store.
- getUsers() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all users present in the store.
- getUsers() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getUsers() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetUsersAction - Class in discord4j.common.store.action.read
- getUserStore() - Method in class discord4j.common.store.legacy.StateHolder
- getUserUpdate() - Method in class discord4j.common.store.action.gateway.UserUpdateAction
- getVoiceStateById(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for the voice state corresponding to the given guild ID and user ID.
- getVoiceStateById(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for the voice state corresponding to the given guild ID and user ID.
- getVoiceStateById(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getVoiceStateById(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetVoiceStateByIdAction - Class in discord4j.common.store.action.read
- getVoiceStates() - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all voice states present in a store.
- getVoiceStates() - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all voice states present in the store.
- getVoiceStates() - Method in class discord4j.common.store.impl.LocalStoreLayout
- getVoiceStates() - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetVoiceStatesAction - Class in discord4j.common.store.action.read
- getVoiceStatesInChannel(long, long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all voice states present in a store for the given guild ID and channel ID.
- getVoiceStatesInChannel(long, long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all voice states present in the store for the given guild ID and channel ID.
- getVoiceStatesInChannel(long, long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getVoiceStatesInChannel(long, long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetVoiceStatesInChannelAction - Class in discord4j.common.store.action.read
- getVoiceStatesInGuild(long) - Static method in class discord4j.common.store.action.read.ReadActions
-
Creates an action to retrieve data for all voice states present in a store for the given guild ID.
- getVoiceStatesInGuild(long) - Method in interface discord4j.common.store.api.layout.DataAccessor
-
Retrieves data for all voice states present in the store for the given guild ID.
- getVoiceStatesInGuild(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- getVoiceStatesInGuild(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- GetVoiceStatesInGuildAction - Class in discord4j.common.store.action.read
- getVoiceStateStore() - Method in class discord4j.common.store.legacy.StateHolder
- getVoiceStateUpdateDispatch() - Method in class discord4j.common.store.action.gateway.VoiceStateUpdateDispatchAction
- GIT_COMMIT_ID_DESCRIBE - Static variable in class discord4j.common.GitProperties
-
Use it on the properties given by
GitProperties.getProperties()
to get repository version captured at build time. - GitProperties - Class in discord4j.common
-
Provide information about the Git repository version captured at build time.
- GitProperties() - Constructor for class discord4j.common.GitProperties
- groupElementLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.ScalarMult
- guildCreate(int, GuildCreate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildCreate
is received from the gateway. - GuildCreateAction - Class in discord4j.common.store.action.gateway
- guildDelete(int, GuildDelete) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildDelete
is received from the gateway. - GuildDeleteAction - Class in discord4j.common.store.action.gateway
- guildEmojisUpdate(int, GuildEmojisUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildEmojisUpdate
is received from the gateway. - GuildEmojisUpdateAction - Class in discord4j.common.store.action.gateway
- guildMemberAdd(int, GuildMemberAdd) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildMemberAdd
is received from the gateway. - GuildMemberAddAction - Class in discord4j.common.store.action.gateway
- guildMemberRemove(int, GuildMemberRemove) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildMemberRemove
is received from the gateway. - GuildMemberRemoveAction - Class in discord4j.common.store.action.gateway
- guildMembersChunk(int, GuildMembersChunk) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildMembersChunk
is received from the gateway. - GuildMembersChunkAction - Class in discord4j.common.store.action.gateway
- guildMemberUpdate(int, GuildMemberUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildMemberUpdate
is received from the gateway. - GuildMemberUpdateAction - Class in discord4j.common.store.action.gateway
- guildRoleCreate(int, GuildRoleCreate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildRoleCreate
is received from the gateway. - GuildRoleCreateAction - Class in discord4j.common.store.action.gateway
- guildRoleDelete(int, GuildRoleDelete) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildRoleDelete
is received from the gateway. - GuildRoleDeleteAction - Class in discord4j.common.store.action.gateway
- guildRoleUpdate(int, GuildRoleUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildRoleUpdate
is received from the gateway. - GuildRoleUpdateAction - Class in discord4j.common.store.action.gateway
- GUILDS - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
- guildStickersUpdate(int, GuildStickersUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildStickersUpdate
is received from the gateway. - GuildStickersUpdateAction - Class in discord4j.common.store.action.gateway
- guildUpdate(int, GuildUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
GuildUpdate
is received from the gateway. - GuildUpdateAction - Class in discord4j.common.store.action.gateway
H
- HANDLE_UNKNOWN_PROPERTIES - Static variable in class discord4j.common.JacksonResources
-
A mapper of
ObjectMapper
to handle unknown properties without throwing errors. - handleUnknownProperty(DeserializationContext, JsonParser, JsonDeserializer<?>, Object, String) - Method in class discord4j.common.jackson.UnknownPropertyHandler
- HARD_RECONNECT - Enum constant in enum class discord4j.common.store.api.object.InvalidationCause
- Hash() - Constructor for class com.iwebpp.crypto.TweetNaclFast.Hash
- hashCode() - Method in class discord4j.common.store.api.object.PresenceAndUserData
- hashCode() - Method in class discord4j.common.util.Snowflake
-
Gets the hash code value of the
ID
. - hashLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Hash
- hexDecode(String) - Static method in class com.iwebpp.crypto.TweetNaclFast
- hexEncodeToString(byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- httpClient(HttpClient) - Method in class discord4j.common.ReactorResources.Builder
-
Sets the underlying
HttpClient
to use.
I
- incrNonce() - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- incrNonce() - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- INITIALIZER - Static variable in class discord4j.common.JacksonResources
-
A mapper of
ObjectMapper
with all the required options for Discord4J operations. - invalidateShard(int, InvalidationCause) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a shard should be invalidated.
- InvalidateShardAction - Class in discord4j.common.store.action.gateway
- invalidateStores() - Method in class discord4j.common.store.legacy.StateHolder
- InvalidationCause - Enum Class in discord4j.common.store.api.object
-
Enumerates the possible causes for a shard invalidation.
J
- JacksonResources - Class in discord4j.common
-
Provides a centralized Jackson 2.10
ObjectMapper
allowing customization and reuse across the application. - JacksonResources() - Constructor for class discord4j.common.JacksonResources
-
Deprecated.
- JacksonResources(ObjectMapper) - Constructor for class discord4j.common.JacksonResources
-
Deprecated.use
JacksonResources.createFromObjectMapper(ObjectMapper)
instead, but consider all Discord4J-related transformations are applied on the givenObjectMapper
- JacksonResources(Function<ObjectMapper, ObjectMapper>) - Constructor for class discord4j.common.JacksonResources
-
Deprecated.use one of the static factories and then call
JacksonResources.withMapperFunction(Function)
K
- KEY_BUCKET_ID - Static variable in class discord4j.common.LogUtil
- KEY_GATEWAY_ID - Static variable in class discord4j.common.LogUtil
- KEY_GUILD_ID - Static variable in class discord4j.common.LogUtil
- KEY_REQUEST_ID - Static variable in class discord4j.common.LogUtil
- KEY_SHARD_ID - Static variable in class discord4j.common.LogUtil
- keyLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- keyPair() - Static method in class com.iwebpp.crypto.TweetNaclFast.Box
- keyPair() - Static method in class com.iwebpp.crypto.TweetNaclFast.Signature
- KeyPair() - Constructor for class com.iwebpp.crypto.TweetNaclFast.Box.KeyPair
- KeyPair() - Constructor for class com.iwebpp.crypto.TweetNaclFast.Signature.KeyPair
- keyPair_fromSecretKey(byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast.Box
- keyPair_fromSecretKey(byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast.Signature
- keyPair_fromSeed(byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast.Signature
L
- LegacyStoreLayout - Class in discord4j.common.store.legacy
- LocalStoreLayout - Class in discord4j.common.store.impl
-
A
StoreLayout
that stores entities in the heap of the local JVM. - LOGOUT - Enum constant in enum class discord4j.common.store.api.object.InvalidationCause
- LogUtil - Class in discord4j.common
-
Utility to support logging details.
- LogUtil() - Constructor for class discord4j.common.LogUtil
- LONG_DATE - Enum constant in enum class discord4j.common.util.TimestampFormat
-
Example:
20 April 2021
- LONG_DATE_TIME - Enum constant in enum class discord4j.common.util.TimestampFormat
-
Example:
Tuesday, 20 April 2021 16:20
- LONG_TIME - Enum constant in enum class discord4j.common.util.TimestampFormat
-
Example:
16:20:30
M
- makeBoxNonce() - Static method in class com.iwebpp.crypto.TweetNaclFast
- makeSecretBoxNonce() - Static method in class com.iwebpp.crypto.TweetNaclFast
- map(Class<S>, Function<? super S, ? extends Publisher<R>>) - Method in class discord4j.common.store.api.ActionMapper.Builder
-
Maps a specific action type to a handler function to execute.
- MEMBERS - Enum constant in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
- MEMBERS - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
- MEMBERS_EXACT - Enum constant in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
- messageCreate(int, MessageCreate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
MessageCreate
is received from the gateway. - MessageCreateAction - Class in discord4j.common.store.action.gateway
- messageDelete(int, MessageDelete) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
MessageDelete
is received from the gateway. - MessageDeleteAction - Class in discord4j.common.store.action.gateway
- messageDeleteBulk(int, MessageDeleteBulk) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
MessageDeleteBulk
is received from the gateway. - MessageDeleteBulkAction - Class in discord4j.common.store.action.gateway
- messageReactionAdd(int, MessageReactionAdd) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
MessageReactionAdd
is received from the gateway. - MessageReactionAddAction - Class in discord4j.common.store.action.gateway
- messageReactionRemove(int, MessageReactionRemove) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
MessageReactionRemove
is received from the gateway. - MessageReactionRemoveAction - Class in discord4j.common.store.action.gateway
- messageReactionRemoveAll(int, MessageReactionRemoveAll) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
MessageReactionRemoveAll
is received from the gateway. - MessageReactionRemoveAllAction - Class in discord4j.common.store.action.gateway
- messageReactionRemoveEmoji(int, MessageReactionRemoveEmoji) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
MessageReactionRemoveEmoji
is received from the gateway. - MessageReactionRemoveEmojiAction - Class in discord4j.common.store.action.gateway
- MESSAGES - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
- messageUpdate(int, MessageUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
MessageUpdate
is received from the gateway. - MessageUpdateAction - Class in discord4j.common.store.action.gateway
N
- newHttpClient(ConnectionProvider) - Static method in class discord4j.common.ReactorResources
-
Create a Reactor Netty
HttpClient
using the given connection pool. - newHttpClient(ConnectionProvider, LoopResources) - Static method in class discord4j.common.ReactorResources
-
Create a Reactor Netty
HttpClient
using the given connection pool and event loop threads. - newMap() - Method in interface discord4j.common.store.impl.StorageBackend
- newMap(RemovalListener<K, V>) - Method in interface discord4j.common.store.impl.StorageBackend
- next() - Method in class discord4j.common.retry.ReconnectContext
-
Signal that the next retry attempt should be underway.
- nonceLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Box
- nonceLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- noOp() - Static method in interface discord4j.common.store.impl.StorageBackend
-
Represents a backend that doesn't store anything.
- noOp() - Static method in class discord4j.common.store.Store
-
Returns a
Store
that will ignore all actions. - NORMAL_CLOSE - Static variable in class discord4j.common.close.CloseStatus
O
- of(long) - Static method in class discord4j.common.util.Snowflake
-
Constructs a
Snowflake
utilizing an unsigned ID. - of(Id) - Static method in class discord4j.common.util.Snowflake
-
Constructs a
Snowflake
utilizing a discord-jsonId
. - of(PresenceData, UserData) - Static method in class discord4j.common.store.api.object.PresenceAndUserData
-
Creates a new
PresenceAndUserData
wrapping the given presence and user data. - of(StoreService) - Static method in class discord4j.common.store.legacy.LegacyStoreLayout
- of(String) - Static method in class discord4j.common.util.Snowflake
-
Constructs a
Snowflake
utilizing an unsigned ID. - of(BigInteger) - Static method in class discord4j.common.util.Snowflake
-
Constructs a
Snowflake
utilizing a BigInteger representing an unsigned ID. - of(Instant) - Static method in class discord4j.common.util.Snowflake
-
Constructs a
Snowflake
utilizing a timestamp. - onChannelCreate(int, ChannelCreate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
ChannelCreate
gateway dispatch. - onChannelCreate(int, ChannelCreate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onChannelCreate(int, ChannelCreate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onChannelDelete(int, ChannelDelete) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
ChannelDelete
gateway dispatch. - onChannelDelete(int, ChannelDelete) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onChannelDelete(int, ChannelDelete) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onChannelUpdate(int, ChannelUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
ChannelUpdate
gateway dispatch. - onChannelUpdate(int, ChannelUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onChannelUpdate(int, ChannelUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onEmitFailure(SignalType, Sinks.EmitResult) - Method in class discord4j.common.ResettableInterval
- onGuildCreate(int, GuildCreate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildCreate
gateway dispatch. - onGuildCreate(int, GuildCreate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildCreate(int, GuildCreate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildDelete(int, GuildDelete) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildDelete
gateway dispatch. - onGuildDelete(int, GuildDelete) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildDelete(int, GuildDelete) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildEmojisUpdate(int, GuildEmojisUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildEmojisUpdate
gateway dispatch. - onGuildEmojisUpdate(int, GuildEmojisUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildEmojisUpdate(int, GuildEmojisUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildMemberAdd(int, GuildMemberAdd) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildMemberAdd
gateway dispatch. - onGuildMemberAdd(int, GuildMemberAdd) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildMemberAdd(int, GuildMemberAdd) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildMemberRemove(int, GuildMemberRemove) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildMemberRemove
gateway dispatch. - onGuildMemberRemove(int, GuildMemberRemove) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildMemberRemove(int, GuildMemberRemove) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildMembersChunk(int, GuildMembersChunk) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildMembersChunk
gateway dispatch. - onGuildMembersChunk(int, GuildMembersChunk) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildMembersChunk(int, GuildMembersChunk) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildMembersCompletion(long) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Invoked to indicate that all members for the specified guild ID were received.
- onGuildMembersCompletion(long) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildMembersCompletion(long) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildMemberUpdate(int, GuildMemberUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildMemberUpdate
gateway dispatch. - onGuildMemberUpdate(int, GuildMemberUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildMemberUpdate(int, GuildMemberUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildRoleCreate(int, GuildRoleCreate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildRoleCreate
gateway dispatch. - onGuildRoleCreate(int, GuildRoleCreate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildRoleCreate(int, GuildRoleCreate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildRoleDelete(int, GuildRoleDelete) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildRoleDelete
gateway dispatch. - onGuildRoleDelete(int, GuildRoleDelete) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildRoleDelete(int, GuildRoleDelete) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildRoleUpdate(int, GuildRoleUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildRoleUpdate
gateway dispatch. - onGuildRoleUpdate(int, GuildRoleUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildRoleUpdate(int, GuildRoleUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildStickersUpdate(int, GuildStickersUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildStickersUpdate
gateway dispatch. - onGuildStickersUpdate(int, GuildStickersUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildStickersUpdate(int, GuildStickersUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onGuildUpdate(int, GuildUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
GuildUpdate
gateway dispatch. - onGuildUpdate(int, GuildUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onGuildUpdate(int, GuildUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onMessageCreate(int, MessageCreate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
MessageCreate
gateway dispatch. - onMessageCreate(int, MessageCreate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onMessageCreate(int, MessageCreate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onMessageDelete(int, MessageDelete) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
MessageDelete
gateway dispatch. - onMessageDelete(int, MessageDelete) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onMessageDelete(int, MessageDelete) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onMessageDeleteBulk(int, MessageDeleteBulk) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
MessageDeleteBulk
gateway dispatch. - onMessageDeleteBulk(int, MessageDeleteBulk) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onMessageDeleteBulk(int, MessageDeleteBulk) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onMessageReactionAdd(int, MessageReactionAdd) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
MessageReactionAdd
gateway dispatch. - onMessageReactionAdd(int, MessageReactionAdd) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onMessageReactionAdd(int, MessageReactionAdd) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onMessageReactionRemove(int, MessageReactionRemove) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
MessageReactionRemove
gateway dispatch. - onMessageReactionRemove(int, MessageReactionRemove) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onMessageReactionRemove(int, MessageReactionRemove) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onMessageReactionRemoveAll(int, MessageReactionRemoveAll) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
MessageReactionRemoveAll
gateway dispatch. - onMessageReactionRemoveAll(int, MessageReactionRemoveAll) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onMessageReactionRemoveAll(int, MessageReactionRemoveAll) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onMessageReactionRemoveEmoji(int, MessageReactionRemoveEmoji) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
MessageReactionRemoveEmoji
gateway dispatch. - onMessageReactionRemoveEmoji(int, MessageReactionRemoveEmoji) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onMessageReactionRemoveEmoji(int, MessageReactionRemoveEmoji) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onMessageUpdate(int, MessageUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
MessageUpdate
gateway dispatch. - onMessageUpdate(int, MessageUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onMessageUpdate(int, MessageUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onPresenceUpdate(int, PresenceUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
PresenceUpdate
gateway dispatch. - onPresenceUpdate(int, PresenceUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onPresenceUpdate(int, PresenceUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onReady(Ready) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
Ready
gateway dispatch. - onReady(Ready) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onReady(Ready) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onShardInvalidation(int, InvalidationCause) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Handles the invalidation of a specific shard.
- onShardInvalidation(int, InvalidationCause) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onShardInvalidation(int, InvalidationCause) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onStageInstanceCreate(int, StageInstanceCreate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
StageInstanceCreate
gateway dispatch. - onStageInstanceCreate(int, StageInstanceCreate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onStageInstanceCreate(int, StageInstanceCreate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onStageInstanceDelete(int, StageInstanceDelete) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
StageInstanceCreate
gateway dispatch. - onStageInstanceDelete(int, StageInstanceDelete) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onStageInstanceDelete(int, StageInstanceDelete) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onStageInstanceUpdate(int, StageInstanceUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
StageInstanceCreate
gateway dispatch. - onStageInstanceUpdate(int, StageInstanceUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onStageInstanceUpdate(int, StageInstanceUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onThreadCreate(int, ThreadCreate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
ThreadCreate
gateway dispatch. - onThreadCreate(int, ThreadCreate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onThreadCreate(int, ThreadCreate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onThreadDelete(int, ThreadDelete) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
ThreadDelete
gateway dispatch. - onThreadDelete(int, ThreadDelete) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onThreadDelete(int, ThreadDelete) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onThreadListSync(int, ThreadListSync) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
ThreadListSync
gateway dispatch. - onThreadListSync(int, ThreadListSync) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onThreadListSync(int, ThreadListSync) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onThreadMembersUpdate(int, ThreadMembersUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
ThreadMembersUpdate
gateway dispatch. - onThreadMembersUpdate(int, ThreadMembersUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onThreadMembersUpdate(int, ThreadMembersUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onThreadMemberUpdate(int, ThreadMemberUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
ThreadMemberUpdate
gateway dispatch. - onThreadMemberUpdate(int, ThreadMemberUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onThreadMemberUpdate(int, ThreadMemberUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onThreadUpdate(int, ThreadUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
ThreadUpdate
gateway dispatch. - onThreadUpdate(int, ThreadUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onThreadUpdate(int, ThreadUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onUserUpdate(int, UserUpdate) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
UserUpdate
gateway dispatch. - onUserUpdate(int, UserUpdate) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onUserUpdate(int, UserUpdate) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- onVoiceStateUpdateDispatch(int, VoiceStateUpdateDispatch) - Method in interface discord4j.common.store.api.layout.GatewayDataUpdater
-
Updates the internal state of the store according to the given
VoiceStateUpdateDispatch
gateway dispatch. - onVoiceStateUpdateDispatch(int, VoiceStateUpdateDispatch) - Method in class discord4j.common.store.impl.LocalStoreLayout
- onVoiceStateUpdateDispatch(int, VoiceStateUpdateDispatch) - Method in class discord4j.common.store.legacy.LegacyStoreLayout
- open(byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- open(byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- open(byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Signature
- open(byte[], byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- open(byte[], byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- open(byte[], int) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- open(byte[], int) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- open(byte[], int) - Method in class com.iwebpp.crypto.TweetNaclFast.Signature
- open(byte[], int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- open(byte[], int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- open(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- open(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- open(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.Signature
- open(byte[], int, int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- open(byte[], int, int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- open_after(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- open_after(byte[], int, int, byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- overheadLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Box
- overheadLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.SecretBox
P
- park(Duration) - Static method in interface discord4j.common.sinks.EmissionStrategy
-
Create an
EmissionStrategy
that will indefinitely park emissions on overflow or non-serialized scenarios until it resolves, the emitter is cancelled or the sink is terminated. - poly1305(byte[]) - Constructor for class com.iwebpp.crypto.TweetNaclFast.poly1305
- PresenceAndUserData - Class in discord4j.common.store.api.object
-
Represents a tuple containing presence and user data, both being optional.
- PRESENCES - Enum constant in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
- PRESENCES - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
- presenceUpdate(int, PresenceUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
PresenceUpdate
is received from the gateway. - PresenceUpdateAction - Class in discord4j.common.store.action.gateway
- publicKeyLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Box
- publicKeyLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Signature
R
- randombytes(byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast
- randombytes(byte[], int) - Static method in class com.iwebpp.crypto.TweetNaclFast
- randombytes(int) - Static method in class com.iwebpp.crypto.TweetNaclFast
- RateLimitOperator<T> - Class in discord4j.common.operator
-
A rate limiting operator based off the token bucket algorithm.
- RateLimitOperator(int, Duration, Scheduler) - Constructor for class discord4j.common.operator.RateLimitOperator
- RateLimitOperator(int, Duration, Scheduler, Scheduler) - Constructor for class discord4j.common.operator.RateLimitOperator
- ReactorResources - Class in discord4j.common
-
Provides Reactor Netty resources like an
HttpClient
andScheduler
instances that can be customized and reused across the application. - ReactorResources() - Constructor for class discord4j.common.ReactorResources
-
Create with a default
HttpClient
andScheduler
s for timed and blocking tasks. - ReactorResources(ReactorResources.Builder) - Constructor for class discord4j.common.ReactorResources
- ReactorResources(HttpClient, Scheduler, Scheduler) - Constructor for class discord4j.common.ReactorResources
-
Create with a pre-configured
HttpClient
andScheduler
s for timed and blocking tasks. - ReactorResources.Builder - Class in discord4j.common
- ReadActions - Class in discord4j.common.store.action.read
-
Provides static factories to obtain
StoreAction
instances that enable reading data from a store. - ready(Ready) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
Ready
is received from the gateway. - ReadyAction - Class in discord4j.common.store.action.gateway
- ReconnectContext - Class in discord4j.common.retry
-
Encapsulate retrying state for reconnect operations.
- ReconnectContext(Duration, Duration) - Constructor for class discord4j.common.retry.ReconnectContext
- ReconnectOptions - Class in discord4j.common.retry
-
A configuration object to customize the gateway reconnection policy.
- ReconnectOptions(ReconnectOptions.Builder) - Constructor for class discord4j.common.retry.ReconnectOptions
- ReconnectOptions.Builder - Class in discord4j.common.retry
- RELATIVE_TIME - Enum constant in enum class discord4j.common.util.TimestampFormat
-
Example:
2 months ago
- reset() - Method in class discord4j.common.retry.ReconnectContext
-
Reset the attempt count, treating further calls to
ReconnectContext.next()
as new retry sequences. - ResettableInterval - Class in discord4j.common
-
Emit ticks at a constant rate specified at
ResettableInterval.start(Duration, Duration)
and will continue untilResettableInterval.stop()
is called orResettableInterval.start(Duration, Duration)
is re-invoked, resetting the previous emitter. - ResettableInterval(Scheduler) - Constructor for class discord4j.common.ResettableInterval
-
Create a
ResettableInterval
that emits ticks on the givenScheduler
upon callingResettableInterval.start(Duration, Duration)
. - retry(Throwable) - Static method in class discord4j.common.close.DisconnectBehavior
-
Create a
DisconnectBehavior
that instructs a client to retry in a graceful manner, with an optional cause. - RETRY - Enum constant in enum class discord4j.common.close.DisconnectBehavior.Action
- RETRY_ABRUPTLY - Enum constant in enum class discord4j.common.close.DisconnectBehavior.Action
- retryAbruptly(Throwable) - Static method in class discord4j.common.close.DisconnectBehavior
-
Create a
DisconnectBehavior
that instructs a client to retry abruptly, with an optional cause. - ROLES - Enum constant in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
- ROLES - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
S
- scalarLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.ScalarMult
- ScalarMult() - Constructor for class com.iwebpp.crypto.TweetNaclFast.ScalarMult
- scalseMult(byte[], byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast.ScalarMult
- scalseMult_base(byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast.ScalarMult
- SecretBox(byte[]) - Constructor for class com.iwebpp.crypto.TweetNaclFast.SecretBox
- SecretBox(byte[], long) - Constructor for class com.iwebpp.crypto.TweetNaclFast.SecretBox
- secretKeyLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Box
- secretKeyLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Signature
- seedLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Signature
- setBackoff(Backoff) - Method in class discord4j.common.retry.ReconnectOptions.Builder
-
Deprecated.only select implementations will use this value. Moving forward, consider assuming an exponential backoff function bounded by
ReconnectOptions.getFirstBackoff()
andReconnectOptions.getMaxBackoffInterval()
- setBackoffScheduler(Scheduler) - Method in class discord4j.common.retry.ReconnectOptions.Builder
-
Set the
Scheduler
to be used when building delayed sequences as backoff. - setFirstBackoff(Duration) - Method in class discord4j.common.retry.ReconnectOptions.Builder
-
Set the first
Duration
to be applied when computing a backoff. - setInvalidationFilter(EnumSet<InvalidationCause>) - Method in class discord4j.common.store.impl.StorageConfig.Builder
-
Sets the filter represented as a subset of
InvalidationCause
to apply when a shard is invalidated. - setJitter(Jitter) - Method in class discord4j.common.retry.ReconnectOptions.Builder
-
Deprecated.only select implementations will use this value. Moving forward, consider using
ReconnectOptions.Builder.setJitterFactor(double)
} - setJitterFactor(double) - Method in class discord4j.common.retry.ReconnectOptions.Builder
-
Set a jitter factor for exponential backoff that adds randomness to each backoff.
- setMaxBackoffInterval(Duration) - Method in class discord4j.common.retry.ReconnectOptions.Builder
-
Set the maximum
Duration
to be applied when computing a backoff. - setMaxRetries(long) - Method in class discord4j.common.retry.ReconnectOptions.Builder
-
Set the maximum number of iterations to retry before rethrowing the error as exhausted attempts.
- setMessageBackend(StorageBackend) - Method in class discord4j.common.store.impl.StorageConfig.Builder
-
Sets the
StorageBackend
to use for message caching. - setNonce(long) - Method in class com.iwebpp.crypto.TweetNaclFast.Box
- setNonce(long) - Method in class com.iwebpp.crypto.TweetNaclFast.SecretBox
- sha512(byte[]) - Static method in class com.iwebpp.crypto.TweetNaclFast.Hash
- sha512(String) - Static method in class com.iwebpp.crypto.TweetNaclFast.Hash
- sharedKeyLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Box
- SHORT_DATE - Enum constant in enum class discord4j.common.util.TimestampFormat
-
Example:
20/04/2021
- SHORT_DATE_TIME - Enum constant in enum class discord4j.common.util.TimestampFormat
-
Example:
20 April 2021 16:20
- SHORT_TIME - Enum constant in enum class discord4j.common.util.TimestampFormat
-
Example:
16:20
- sign(byte[]) - Method in class com.iwebpp.crypto.TweetNaclFast.Signature
- sign(byte[], int) - Method in class com.iwebpp.crypto.TweetNaclFast.Signature
- sign(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.Signature
- Signature(byte[], byte[]) - Constructor for class com.iwebpp.crypto.TweetNaclFast.Signature
- signatureLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Signature
- Snowflake - Class in discord4j.common.util
-
An unsigned 64-bit ID that is guaranteed to be unique across all of Discord, except in some unique scenarios in which child objects share their parent's ID.
- StageInstanceCreateAction - Class in discord4j.common.store.action.gateway
- StageInstanceDeleteAction - Class in discord4j.common.store.action.gateway
- StageInstanceUpdateAction - Class in discord4j.common.store.action.gateway
- start(Duration, Duration) - Method in class discord4j.common.ResettableInterval
-
Begin producing ticks at the given rate.
- StateHolder - Class in discord4j.common.store.legacy
-
Holder for various pieces of state for use in caching.
- StateHolder(StoreService) - Constructor for class discord4j.common.store.legacy.StateHolder
- STICKERS - Enum constant in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
- STICKERS - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
- stop() - Method in class discord4j.common.ResettableInterval
-
Dispose the current emitter task without completing or cancelling existing subscriptions to
ResettableInterval.ticks()
. - stop(Throwable) - Static method in class discord4j.common.close.DisconnectBehavior
-
Create a
DisconnectBehavior
that instructs a client to stop in a graceful manner, with an optional cause. - STOP - Enum constant in enum class discord4j.common.close.DisconnectBehavior.Action
- STOP_ABRUPTLY - Enum constant in enum class discord4j.common.close.DisconnectBehavior.Action
- stopAbruptly(Throwable) - Static method in class discord4j.common.close.DisconnectBehavior
-
Create a
DisconnectBehavior
that instructs a client to stop abruptly, with an optional cause. - StorageBackend - Interface in discord4j.common.store.impl
-
Factory for a ConcurrentMap backing the different storages.
- StorageConfig - Class in discord4j.common.store.impl
-
Holds the storage configuration for a
LocalStoreLayout
. - StorageConfig.Builder - Class in discord4j.common.store.impl
- Store - Class in discord4j.common.store
-
A
Store
represents a container that holds, retrieves, and updates data received from Discord throughout the life of a bot application. - StoreAction<R> - Interface in discord4j.common.store.api
-
Represents an operation that can be executed on a store.
- StoreLayout - Interface in discord4j.common.store.api.layout
-
A
StoreLayout
defines how store actions should be handled according to their type.
T
- threadCreate(int, ThreadCreate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
ThreadCreate
is received from the gateway. - ThreadCreateAction - Class in discord4j.common.store.action.gateway
- threadDelete(int, ThreadDelete) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
ThreadDelete
is received from the gateway. - ThreadDeleteAction - Class in discord4j.common.store.action.gateway
- threadListSync(int, ThreadListSync) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
ThreadListSync
is received from the gateway. - ThreadListSyncAction - Class in discord4j.common.store.action.gateway
- threadMembersUpdate(int, ThreadMembersUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
ThreadMembersUpdate
is received from the gateway. - ThreadMembersUpdateAction - Class in discord4j.common.store.action.gateway
- threadMemberUpdate(int, ThreadMemberUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
ThreadMemberUpdate
is received from the gateway. - ThreadMemberUpdateAction - Class in discord4j.common.store.action.gateway
- threadUpdate(int, ThreadUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
ThreadUpdate
is received from the gateway. - ThreadUpdateAction - Class in discord4j.common.store.action.gateway
- ticks() - Method in class discord4j.common.ResettableInterval
-
Return a
Flux
that emits ticks at the currently configured rate. - timeoutDrop(Duration) - Static method in interface discord4j.common.sinks.EmissionStrategy
-
Create an
EmissionStrategy
that will retry overflowing and non-serialized emissions until a givenduration
and drop values upon timeout. - timeoutError(Duration) - Static method in interface discord4j.common.sinks.EmissionStrategy
-
Create an
EmissionStrategy
that will retry overflowing and non-serialized emissions until a givenduration
and error values upon timeout. - timerTaskScheduler(Scheduler) - Method in class discord4j.common.ReactorResources.Builder
-
Sets the time-capable
Scheduler
to use. - TimestampFormat - Enum Class in discord4j.common.util
-
A utility class for formatting a Java
Instant
as a timestamp in Discord messages. - TokenUtil - Class in discord4j.common.util
- TokenUtil() - Constructor for class discord4j.common.util.TokenUtil
- toString() - Method in class discord4j.common.close.CloseStatus
- toString() - Method in class discord4j.common.close.DisconnectBehavior
- toString() - Method in class discord4j.common.store.api.object.PresenceAndUserData
- toString() - Method in class discord4j.common.util.Snowflake
-
Gets the String representation of this
Snowflake
. - traceDebug(Logger, Function<Boolean, String>) - Static method in class discord4j.common.LogUtil
-
Log a message depending on the enabled level for a given
Logger
. - TweetNaclFast - Class in com.iwebpp.crypto
- TweetNaclFast() - Constructor for class com.iwebpp.crypto.TweetNaclFast
- TweetNaclFast.Box - Class in com.iwebpp.crypto
- TweetNaclFast.Box.KeyPair - Class in com.iwebpp.crypto
- TweetNaclFast.Hash - Class in com.iwebpp.crypto
- TweetNaclFast.poly1305 - Class in com.iwebpp.crypto
- TweetNaclFast.ScalarMult - Class in com.iwebpp.crypto
- TweetNaclFast.SecretBox - Class in com.iwebpp.crypto
- TweetNaclFast.Signature - Class in com.iwebpp.crypto
- TweetNaclFast.Signature.KeyPair - Class in com.iwebpp.crypto
U
- UnknownPropertyHandler - Class in discord4j.common.jackson
- UnknownPropertyHandler(boolean) - Constructor for class discord4j.common.jackson.UnknownPropertyHandler
- update(byte[], int, int) - Method in class com.iwebpp.crypto.TweetNaclFast.poly1305
- USERS - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
- userUpdate(int, UserUpdate) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
UserUpdate
is received from the gateway. - UserUpdateAction - Class in discord4j.common.store.action.gateway
V
- valueOf(String) - Static method in enum class discord4j.common.close.DisconnectBehavior.Action
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class discord4j.common.store.api.object.InvalidationCause
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class discord4j.common.util.TimestampFormat
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class discord4j.common.close.DisconnectBehavior.Action
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class discord4j.common.store.api.object.InvalidationCause
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class discord4j.common.util.TimestampFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VOICE_STATES - Enum constant in enum class discord4j.common.store.action.read.CountInGuildAction.InGuildEntity
- VOICE_STATES - Enum constant in enum class discord4j.common.store.action.read.CountTotalAction.CountableEntity
- voiceStateUpdateDispatch(int, VoiceStateUpdateDispatch) - Static method in class discord4j.common.store.action.gateway.GatewayActions
-
Creates an action to execute when a
VoiceStateUpdateDispatch
is received from the gateway. - VoiceStateUpdateDispatchAction - Class in discord4j.common.store.action.gateway
W
- withMapperFunction(Function<ObjectMapper, ObjectMapper>) - Method in class discord4j.common.JacksonResources
-
Return a new
JacksonResources
based on this currentObjectMapper
but applying the given function.
Z
- zerobytesLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.Box
- zerobytesLength - Static variable in class com.iwebpp.crypto.TweetNaclFast.SecretBox
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ReconnectOptions.getFirstBackoff()
andReconnectOptions.getMaxBackoffInterval()