org.openqa.grid.internal
Class ProxySet
java.lang.Object
org.openqa.grid.internal.ProxySet
- All Implemented Interfaces:
- java.lang.Iterable<RemoteProxy>
@ThreadSafe
public class ProxySet
- extends java.lang.Object
- implements java.lang.Iterable<RemoteProxy>
A set of RemoteProxies.
Obeys the iteration guarantees of CopyOnWriteArraySet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxySet
public ProxySet()
teardown
public void teardown()
- killing the timeout detection threads.
hasCapability
public boolean hasCapability(java.util.Map<java.lang.String,java.lang.Object> requestedCapability)
removeIfPresent
public void removeIfPresent(RemoteProxy proxy)
add
public void add(RemoteProxy proxy)
contains
public boolean contains(RemoteProxy o)
getBusyProxies
public java.util.List<RemoteProxy> getBusyProxies()
isEmpty
public boolean isEmpty()
getSorted
public java.util.List<RemoteProxy> getSorted()
iterator
public java.util.Iterator<RemoteProxy> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<RemoteProxy>
size
public int size()
Copyright © 2011. All Rights Reserved.