Class NewSessionQueue

    • Field Detail

      • tracer

        protected final org.openqa.selenium.remote.tracing.Tracer tracer
    • Constructor Detail

      • NewSessionQueue

        protected NewSessionQueue​(org.openqa.selenium.remote.tracing.Tracer tracer,
                                  Secret registrationSecret)
    • Method Detail

      • addToQueue

        public abstract org.openqa.selenium.remote.http.HttpResponse addToQueue​(SessionRequest request)
      • retryAddToQueue

        public abstract boolean retryAddToQueue​(SessionRequest request)
      • getNextAvailable

        public abstract java.util.Optional<SessionRequest> getNextAvailable​(java.util.Set<org.openqa.selenium.Capabilities> stereotypes)
      • complete

        public abstract void complete​(RequestId reqId,
                                      org.openqa.selenium.internal.Either<org.openqa.selenium.SessionNotCreatedException,​CreateSessionResponse> result)
      • clearQueue

        public abstract int clearQueue()
      • matches

        public boolean matches​(org.openqa.selenium.remote.http.HttpRequest req)
        Specified by:
        matches in interface org.openqa.selenium.remote.http.Routable
      • execute

        public org.openqa.selenium.remote.http.HttpResponse execute​(org.openqa.selenium.remote.http.HttpRequest req)
        Specified by:
        execute in interface org.openqa.selenium.remote.http.HttpHandler