Class RedisBackedSessionMap

java.lang.Object
org.openqa.selenium.grid.sessionmap.SessionMap
org.openqa.selenium.grid.sessionmap.redis.RedisBackedSessionMap
All Implemented Interfaces:
org.openqa.selenium.remote.http.HttpHandler, org.openqa.selenium.remote.http.Routable, org.openqa.selenium.status.HasReadyState

public class RedisBackedSessionMap extends org.openqa.selenium.grid.sessionmap.SessionMap
  • Field Summary

    Fields inherited from class org.openqa.selenium.grid.sessionmap.SessionMap

    tracer
  • Constructor Summary

    Constructors
    Constructor
    Description
    RedisBackedSessionMap(org.openqa.selenium.remote.tracing.Tracer tracer, URI serverUri, org.openqa.selenium.events.EventBus bus)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    add(org.openqa.selenium.grid.data.Session session)
     
    static org.openqa.selenium.grid.sessionmap.SessionMap
    create(org.openqa.selenium.grid.config.Config config)
     
    org.openqa.selenium.grid.data.Session
    get(org.openqa.selenium.remote.SessionId id)
     
     
    getUri(org.openqa.selenium.remote.SessionId id)
     
    boolean
     
    void
    remove(org.openqa.selenium.remote.SessionId id)
     
    void
     

    Methods inherited from class org.openqa.selenium.grid.sessionmap.SessionMap

    execute, matches

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.openqa.selenium.remote.http.Routable

    with
  • Constructor Details

    • RedisBackedSessionMap

      public RedisBackedSessionMap(org.openqa.selenium.remote.tracing.Tracer tracer, URI serverUri, org.openqa.selenium.events.EventBus bus)
  • Method Details

    • create

      public static org.openqa.selenium.grid.sessionmap.SessionMap create(org.openqa.selenium.grid.config.Config config)
    • add

      public boolean add(org.openqa.selenium.grid.data.Session session)
      Specified by:
      add in class org.openqa.selenium.grid.sessionmap.SessionMap
    • get

      public org.openqa.selenium.grid.data.Session get(org.openqa.selenium.remote.SessionId id) throws org.openqa.selenium.NoSuchSessionException
      Specified by:
      get in class org.openqa.selenium.grid.sessionmap.SessionMap
      Throws:
      org.openqa.selenium.NoSuchSessionException
    • getUri

      public URI getUri(org.openqa.selenium.remote.SessionId id) throws org.openqa.selenium.NoSuchSessionException
      Overrides:
      getUri in class org.openqa.selenium.grid.sessionmap.SessionMap
      Throws:
      org.openqa.selenium.NoSuchSessionException
    • remove

      public void remove(org.openqa.selenium.remote.SessionId id)
      Specified by:
      remove in class org.openqa.selenium.grid.sessionmap.SessionMap
    • removeByUri

      public void removeByUri(URI uri)
    • isReady

      public boolean isReady()
    • getRedisClient

      public GridRedisClient getRedisClient()