Interface UstraConnectionStorage<T extends ConnectionInfo>

All Known Implementing Classes:
ConcurrentMapConnectionStorage

public interface UstraConnectionStorage<T extends ConnectionInfo>
인증 세션 정보의 중복, 만료 여부를 판단하기 위한 Storage
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String key, T connection)
    연결 정보 추가
    boolean
    해당 키 값의 연결 정보가 존재하는지 여부 확인
    get(String key)
    키 값의 연결 정보 조회
    모든 연결 정보 조회
    getByDuplicationKey(String duplicationKey)
    중복 키로 조회
    void
    해당 키 값의 연결 정보 제거
  • Method Details

    • contains

      boolean contains(String key)
      해당 키 값의 연결 정보가 존재하는지 여부 확인
      Parameters:
      key - 키 값
      Returns:
      존재여부
    • add

      void add(String key, T connection)
      연결 정보 추가
      Parameters:
      key - 키 값
      connection - 연결 정보
    • remove

      void remove(String key)
      해당 키 값의 연결 정보 제거
      Parameters:
      key - 키 값
    • get

      T get(String key)
      키 값의 연결 정보 조회
      Parameters:
      key - 키 값
      Returns:
      연결 정보
    • getByDuplicationKey

      List<T> getByDuplicationKey(String duplicationKey)
      중복 키로 조회
      Parameters:
      duplicationKey -
      Returns:
    • getAll

      List<T> getAll()
      모든 연결 정보 조회
      Returns: