Interface UserSessionProvider

All Known Implementing Classes:
UserSessionProviderImpl

public interface UserSessionProvider
  • Method Details

    • closeCache

      void closeCache()
    • refreshCache

      void refreshCache()
    • findById

      UserSession findById(UUID sessionId)
    • findByUserId

      UserSession findByUserId(int userId)
    • findAll

      List<UserSession> findAll()
    • findUserSessions

      List<UserSession> findUserSessions(int userId)
    • create

      UserSession create(int userId, String ipAddress, String clientBrand, int protocolVersion)
    • delete

      int delete(UUID sessionId)
    • isOnline

      boolean isOnline(int userId)