Class JdbcBackedSessionMap

java.lang.Object
org.openqa.selenium.grid.sessionmap.SessionMap
org.openqa.selenium.grid.sessionmap.jdbc.JdbcBackedSessionMap
All Implemented Interfaces:
Closeable, AutoCloseable, org.openqa.selenium.remote.http.HttpHandler, org.openqa.selenium.remote.http.Routable, org.openqa.selenium.status.HasReadyState

public class JdbcBackedSessionMap extends org.openqa.selenium.grid.sessionmap.SessionMap implements Closeable
  • Field Summary

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

    tracer
  • Constructor Summary

    Constructors
    Constructor
    Description
    JdbcBackedSessionMap(org.openqa.selenium.remote.tracing.Tracer tracer, Connection jdbcConnection, org.openqa.selenium.events.EventBus bus)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    add(org.openqa.selenium.grid.data.Session session)
     
    void
     
    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)
     
    boolean
     
    void
    remove(org.openqa.selenium.remote.SessionId id)
     
    void
    removeByUri(URI sessionUri)
     

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

    execute, getUri, 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

    • JdbcBackedSessionMap

      public JdbcBackedSessionMap(org.openqa.selenium.remote.tracing.Tracer tracer, Connection jdbcConnection, 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)
    • isReady

      public boolean isReady()
      Specified by:
      isReady in interface org.openqa.selenium.status.HasReadyState
    • 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
    • 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 sessionUri)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable