MCPcopy Create free account
hub / github.com/DuncteBot/SkyBot / RedisDB

Interface RedisDB

bot/src/main/java/me/duncte123/skybot/database/RedisDB.java:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25import java.util.List;
26
27public interface RedisDB {
28 void storeMessage(@NotNull MessageData data);
29 @Nullable
30 MessageData getAndUpdateMessage(@NotNull String messageId, @NotNull MessageData updateData);
31 @Nullable
32 MessageData getAndDeleteMessage(@NotNull String messageId);
33 @NotNull
34 List<MessageData> getAndDeleteMessages(@NotNull List<String> messageIds);
35 void deleteMessage(@NotNull String messageId);
36 void deleteMessages(@NotNull List<String> messageIds);
37 void shutdown();
38}

Callers 15

onGuildMessageUpdateMethod · 0.65
onGuildMessageDeleteMethod · 0.65
onMessageBulkDeleteMethod · 0.65
onGuildMessageDeleteMethod · 0.65
checkMethod · 0.65
onMessageBulkDeleteMethod · 0.65
onDisconnectedMethod · 0.65
shutdownMethod · 0.65
stopMethod · 0.65
shutdownBotMethod · 0.65
ReadyShutdownListenerMethod · 0.65

Implementers 2

DummyRedisConnectionbot/src/main/java/me/duncte123/skybot/
RedisConnectionbot/src/main/java/me/duncte123/skybot/

Calls

no outgoing calls

Tested by

no test coverage detected