Class LocalNewSessionQueuer
- java.lang.Object
-
- org.openqa.selenium.grid.sessionqueue.NewSessionQueuer
-
- org.openqa.selenium.grid.sessionqueue.local.LocalNewSessionQueuer
-
- All Implemented Interfaces:
org.openqa.selenium.remote.http.HttpHandler
,org.openqa.selenium.remote.http.Routable
,HasReadyState
public class LocalNewSessionQueuer extends NewSessionQueuer
-
-
Field Summary
Fields Modifier and Type Field Description NewSessionQueue
sessionRequests
-
Fields inherited from class org.openqa.selenium.grid.sessionqueue.NewSessionQueuer
tracer
-
-
Constructor Summary
Constructors Constructor Description LocalNewSessionQueuer(org.openqa.selenium.remote.tracing.Tracer tracer, EventBus bus, NewSessionQueue sessionRequests)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.remote.http.HttpResponse
addToQueue(org.openqa.selenium.remote.http.HttpRequest request)
int
clearQueue()
static NewSessionQueuer
create(Config config)
boolean
isReady()
java.util.Optional<org.openqa.selenium.remote.http.HttpRequest>
remove(RequestId id)
boolean
retryAddToQueue(org.openqa.selenium.remote.http.HttpRequest request, RequestId reqId)
-
Methods inherited from class org.openqa.selenium.grid.sessionqueue.NewSessionQueuer
execute, matches, validateSessionRequest
-
-
-
-
Field Detail
-
sessionRequests
public final NewSessionQueue sessionRequests
-
-
Constructor Detail
-
LocalNewSessionQueuer
public LocalNewSessionQueuer(org.openqa.selenium.remote.tracing.Tracer tracer, EventBus bus, NewSessionQueue sessionRequests)
-
-
Method Detail
-
create
public static NewSessionQueuer create(Config config)
-
addToQueue
public org.openqa.selenium.remote.http.HttpResponse addToQueue(org.openqa.selenium.remote.http.HttpRequest request)
- Specified by:
addToQueue
in classNewSessionQueuer
-
retryAddToQueue
public boolean retryAddToQueue(org.openqa.selenium.remote.http.HttpRequest request, RequestId reqId)
- Specified by:
retryAddToQueue
in classNewSessionQueuer
-
remove
public java.util.Optional<org.openqa.selenium.remote.http.HttpRequest> remove(RequestId id)
- Specified by:
remove
in classNewSessionQueuer
-
clearQueue
public int clearQueue()
- Specified by:
clearQueue
in classNewSessionQueuer
-
isReady
public boolean isReady()
-
-