Class BanCache
java.lang.Object
com.gamersafer.minecraft.auth.common.db.cache.BanCache
- All Implemented Interfaces:
IBanStorage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBans
(UserIdentity identity, @Nullable String guildMemberId) void
shutdown()
unbanIpUser
(@Nullable String guildMemberId, UserIdentity identity) Removes IP bans associated with the given identity.unbanUser
(@Nullable String guildMemberId, UserIdentity identity) Removes regular bans associated with the given identity.
-
Constructor Details
-
BanCache
-
-
Method Details
-
add
- Specified by:
add
in interfaceIBanStorage
-
update
- Specified by:
update
in interfaceIBanStorage
-
getBans
- Specified by:
getBans
in interfaceIBanStorage
-
getUnsubmittedBans
- Specified by:
getUnsubmittedBans
in interfaceIBanStorage
-
shutdown
public void shutdown()- Specified by:
shutdown
in interfaceIBanStorage
-