Skip to content
Success

Changes

Summary

  1. Unified channel cache (#2528) (commit: 0619384) (details)
Commit 0619384d5365ba729b53b846c1008c15be8f0e56 by noreply
Unified channel cache (#2528)

* Add ChannelCacheView
* Add getPositionInCategory
* Add ChannelCacheViewTest
* Simplify Guild#getChannels
(commit: 0619384)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/Helpers.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ChannelDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/VoiceChannelStatusUpdateHandler.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/utils/cache/ChannelCacheView.java
The file was addedsrc/test/java/net/dv8tion/jda/entities/channel/ChannelCacheViewTest.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/concrete/StageChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildMemberRemoveHandler.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/utils/cache/SortedChannelCacheViewImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/utils/cache/UnifiedChannelCacheView.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/IGuildChannelContainer.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ChannelUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/ICategorizableChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/utils/cache/ChannelCacheViewImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/ChannelUtil.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/concrete/VoiceChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/IPositionableChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/channel/attribute/ICategorizableChannelManager.java (diff)
The file was modifiedbuild.gradle.kts (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/Category.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/middleman/AbstractGuildChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/sharding/ShardManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/concrete/TextChannelImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/utils/cache/SortedChannelCacheView.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/concrete/NewsChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Guild.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/JDA.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ThreadDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ThreadUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/middleman/AbstractStandardGuildChannelImpl.java (diff)