class RedisSessionRepository implements SessionRepository {

  @Override
  public Set<String> getAllKeys(SessionData session) {
    Set<String> keys = new HashSet<>();
    for (byte[] key : redis.hkeys(sessionKey(session))) {
      if (!hasInternalPrefix(key)) {
        keys.add(encode(key));
      }
    }
    return Collections.unmodifiableSet(keys);
  }

  public  RedisSessionRepository(RedisFacade redis, String namespace, String owner, ExpirationStrategy strategy,
      boolean sticky);

}