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
ConstructorsConstructorDescriptionJdbcBackedSessionMap(org.openqa.selenium.remote.tracing.Tracer tracer, Connection jdbcConnection, org.openqa.selenium.events.EventBus bus) -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(org.openqa.selenium.grid.data.Session session) voidclose()static org.openqa.selenium.grid.sessionmap.SessionMapcreate(org.openqa.selenium.grid.config.Config config) org.openqa.selenium.grid.data.Sessionget(org.openqa.selenium.remote.SessionId id) booleanisReady()voidremove(org.openqa.selenium.remote.SessionId id) voidremoveByUri(URI sessionUri) Methods inherited from class org.openqa.selenium.grid.sessionmap.SessionMap
execute, getUri, matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
isReadyin interfaceorg.openqa.selenium.status.HasReadyState
-
add
public boolean add(org.openqa.selenium.grid.data.Session session) - Specified by:
addin classorg.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:
getin classorg.openqa.selenium.grid.sessionmap.SessionMap- Throws:
org.openqa.selenium.NoSuchSessionException
-
remove
public void remove(org.openqa.selenium.remote.SessionId id) - Specified by:
removein classorg.openqa.selenium.grid.sessionmap.SessionMap
-
removeByUri
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-