class SessionCache {

    public static Optional<Session> getCachedSession(UUID playerUUID) {
        Optional<Session> found = Optional.ofNullable(ACTIVE_SESSIONS.get(playerUUID));
        found.ifPresent(Session::updateState);
        return found;
    }

    @Inject public  SessionCache();

}