Class LoomSessionRepository

java.lang.Object
com.loomcache.springboot.session.LoomSessionRepository
All Implemented Interfaces:
org.springframework.session.SessionRepository<LoomSession>

public final class LoomSessionRepository extends Object implements org.springframework.session.SessionRepository<LoomSession>
  • Constructor Details

    • LoomSessionRepository

      public LoomSessionRepository(@NonNull LoomCache loomCache, @NonNull LoomProperties properties)
  • Method Details

    • createSession

      public @NonNull LoomSession createSession()
      Specified by:
      createSession in interface org.springframework.session.SessionRepository<LoomSession>
    • save

      public void save(@NonNull LoomSession session)
      Specified by:
      save in interface org.springframework.session.SessionRepository<LoomSession>
    • findById

      public @Nullable LoomSession findById(@NonNull String id)
      Specified by:
      findById in interface org.springframework.session.SessionRepository<LoomSession>
    • deleteById

      public void deleteById(@NonNull String id)
      Specified by:
      deleteById in interface org.springframework.session.SessionRepository<LoomSession>