Modifier and Type | Field and Description |
---|---|
static String[] |
SUPPORTED_BROWSERS |
Modifier and Type | Method and Description |
---|---|
static BrowserInformationCache |
getInstance() |
int |
getTotalBrowserCapacity(String browserName,
org.openqa.grid.internal.Registry registry)
Returns the total instances of a particular browser, available through all nodes.
|
void |
updateBrowserInfo(URL url,
String browserName,
int maxInstances)
Updates the Cache for the provide Node represented by the
URL instance. |
public static final String[] SUPPORTED_BROWSERS
public static BrowserInformationCache getInstance()
public void updateBrowserInfo(URL url, String browserName, int maxInstances)
URL
instance. This methods creates or updates
information for the Node/Browser combination.public int getTotalBrowserCapacity(String browserName, org.openqa.grid.internal.Registry registry)
Registry
to clean the cache before returning the results.browserName
- Browser name as String
registry
- Registry
instance.Copyright © 2016 PayPal Open Source. All rights reserved.