DefaultGridRegistry instead. This class is just a proxy to it.@Deprecated @ThreadSafe public class Registry extends java.lang.Object implements GridRegistry
KEY| Constructor and Description |
|---|
Registry()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(RemoteProxy proxy)
Deprecated.
|
void |
addNewSessionRequest(RequestHandler handler)
Deprecated.
|
void |
clearNewSessionRequests()
Deprecated.
|
void |
forceRelease(TestSlot testSlot,
SessionTerminationReason reason)
Deprecated.
|
java.util.Set<TestSession> |
getActiveSessions()
Deprecated.
|
ProxySet |
getAllProxies()
Deprecated.
|
GridHubConfiguration |
getConfiguration()
Deprecated.
|
java.lang.Iterable<org.openqa.selenium.remote.DesiredCapabilities> |
getDesiredCapabilities()
Deprecated.
|
TestSession |
getExistingSession(ExternalSessionKey externalKey)
Deprecated.
|
org.openqa.selenium.remote.internal.HttpClientFactory |
getHttpClientFactory()
Deprecated.
|
Hub |
getHub()
Deprecated.
|
int |
getNewSessionRequestCount()
Deprecated.
|
RemoteProxy |
getProxyById(java.lang.String id)
Deprecated.
|
TestSession |
getSession(ExternalSessionKey externalKey)
Deprecated.
|
java.util.List<RemoteProxy> |
getUsedProxies()
Deprecated.
|
static Registry |
newInstance()
Deprecated.
|
static Registry |
newInstance(Hub hub,
GridHubConfiguration config)
Deprecated.
|
void |
removeIfPresent(RemoteProxy proxy)
Deprecated.
|
boolean |
removeNewSessionRequest(RequestHandler request)
Deprecated.
|
void |
setHub(Hub hub)
Deprecated.
|
void |
setThrowOnCapabilityNotPresent(boolean throwOnCapabilityNotPresent)
Deprecated.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
void |
terminate(TestSession session,
SessionTerminationReason reason)
Deprecated.
|
@Deprecated public void start()
GridRegistrystart in interface GridRegistryGridRegistry.start()@Deprecated public static Registry newInstance()
Registry that is not associated with a Hub and starts it.@Deprecated public static Registry newInstance(Hub hub, GridHubConfiguration config)
Registry and starts ithub - the Hub to associate this registry withconfig - the GridHubConfiguration@Deprecated public GridHubConfiguration getConfiguration()
getConfiguration in interface GridRegistryGridHubConfiguration for this registryGridRegistry.getConfiguration()@Deprecated public void terminate(TestSession session, SessionTerminationReason reason)
GridRegistryTestSlot which
is being released.terminate in interface GridRegistrysession - The session to terminatereason - the reason for terminationGridRegistry.terminate(TestSession, SessionTerminationReason)@Deprecated public void removeIfPresent(RemoteProxy proxy)
GridRegistryRemoteProxy specified from the registryremoveIfPresent in interface GridRegistryGridRegistry.removeIfPresent(RemoteProxy)@Deprecated public void forceRelease(TestSlot testSlot, SessionTerminationReason reason)
GridRegistryforceRelease in interface GridRegistrytestSlot - test slot to be releasedreason - reason for terminationGridRegistry.forceRelease(TestSlot, SessionTerminationReason)@Deprecated public void stop()
GridRegistrystop in interface GridRegistryGridRegistry.stop()@Deprecated public Hub getHub()
getHub in interface GridRegistryHub for this registry or null if no Hub is set.GridRegistry.getHub()@Deprecated public void setHub(Hub hub)
GridRegistryHub for this registrysetHub in interface GridRegistryGridRegistry.setHub(Hub)@Deprecated public void addNewSessionRequest(RequestHandler handler)
GridRegistryaddNewSessionRequest in interface GridRegistryhandler - the RequestHandlerGridRegistry.addNewSessionRequest(RequestHandler)@Deprecated public void add(RemoteProxy proxy)
GridRegistryadd in interface GridRegistryproxy - The proxy to addGridRegistry.add(RemoteProxy)@Deprecated public void setThrowOnCapabilityNotPresent(boolean throwOnCapabilityNotPresent)
GridRegistryIf set to false, the test will be queued hoping a new proxy will register later offering that capability.
setThrowOnCapabilityNotPresent in interface GridRegistrythrowOnCapabilityNotPresent - true to throw if capability not presentGridRegistry.setThrowOnCapabilityNotPresent(boolean)@Deprecated public ProxySet getAllProxies()
getAllProxies in interface GridRegistryProxySet of all of the connected proxies/nodesGridRegistry.getAllProxies()@Deprecated public java.util.List<RemoteProxy> getUsedProxies()
getUsedProxies in interface GridRegistryList of all of the proxies/nodes which are in useGridRegistry.getUsedProxies()@Deprecated public TestSession getSession(ExternalSessionKey externalKey)
GridRegistrygetSession in interface GridRegistryexternalKey - the external session keyGridRegistry.getSession(ExternalSessionKey)@Deprecated public TestSession getExistingSession(ExternalSessionKey externalKey)
GridRegistrygetExistingSession in interface GridRegistryexternalKey - the external session keyGridRegistry.getExistingSession(ExternalSessionKey)@Deprecated public int getNewSessionRequestCount()
getNewSessionRequestCount in interface GridRegistryGridRegistry.getNewSessionRequestCount()@Deprecated public void clearNewSessionRequests()
GridRegistryclearNewSessionRequests in interface GridRegistryGridRegistry.clearNewSessionRequests()@Deprecated public boolean removeNewSessionRequest(RequestHandler request)
GridRegistryremoveNewSessionRequest in interface GridRegistryrequest - the RequestHandlerGridRegistry.removeNewSessionRequest(RequestHandler)@Deprecated public java.lang.Iterable<org.openqa.selenium.remote.DesiredCapabilities> getDesiredCapabilities()
getDesiredCapabilities in interface GridRegistryDesiredCapabilities in the new session queueGridRegistry.getDesiredCapabilities()@Deprecated public java.util.Set<TestSession> getActiveSessions()
getActiveSessions in interface GridRegistrySet of active TestSessionsGridRegistry.getActiveSessions()@Deprecated public RemoteProxy getProxyById(java.lang.String id)
GridRegistryRemoteProxy using the id providedgetProxyById in interface GridRegistryid - the string identifierRemoteProxyGridRegistry.getProxyById(String)@Deprecated public org.openqa.selenium.remote.internal.HttpClientFactory getHttpClientFactory()
getHttpClientFactory in interface GridRegistryHttpClientFactory to useGridRegistry.getHttpClientFactory()