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 NewSessionQueuesessionRequests-
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.HttpResponseaddToQueue(org.openqa.selenium.remote.http.HttpRequest request)intclearQueue()static NewSessionQueuercreate(Config config)booleanisReady()java.util.Optional<org.openqa.selenium.remote.http.HttpRequest>remove(RequestId id)booleanretryAddToQueue(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:
addToQueuein classNewSessionQueuer
-
retryAddToQueue
public boolean retryAddToQueue(org.openqa.selenium.remote.http.HttpRequest request, RequestId reqId)- Specified by:
retryAddToQueuein classNewSessionQueuer
-
remove
public java.util.Optional<org.openqa.selenium.remote.http.HttpRequest> remove(RequestId id)
- Specified by:
removein classNewSessionQueuer
-
clearQueue
public int clearQueue()
- Specified by:
clearQueuein classNewSessionQueuer
-
isReady
public boolean isReady()
-
-