[FIX] clientSet & uuidIndex serialize

This commit is contained in:
Gravita 2020-12-28 21:29:12 +07:00
parent 9d6c9c0abf
commit 669a7eb391

View file

@ -9,8 +9,8 @@
public class MemorySessionStorage extends SessionStorage implements NeedGarbageCollection {
private final Map<UUID, Entry> clientSet = new ConcurrentHashMap<>(128);
private final Map<UUID, Set<Entry>> uuidIndex = new ConcurrentHashMap<>(32);
private transient final Map<UUID, Entry> clientSet = new ConcurrentHashMap<>(128);
private transient final Map<UUID, Set<Entry>> uuidIndex = new ConcurrentHashMap<>(32);
@Override
public byte[] getSessionData(UUID session) {