com.thoughtworks.selenium.grid.hub.remotecontrol.DynamicRemoteControlPool Maven / Gradle / Ivy
The newest version!
package com.thoughtworks.selenium.grid.hub.remotecontrol;
import java.util.List;
/**
* Remote control pool that grows/shrinks when remote control
* register/unregister themselves.
*/
public interface DynamicRemoteControlPool extends RemoteControlPool {
void register(RemoteControlProxy newRemoteControl);
boolean unregister(RemoteControlProxy remoteControl);
boolean isRegistered(RemoteControlProxy remoteControl);
List allRegisteredRemoteControls();
List availableRemoteControls();
List reservedRemoteControls();
void unregisterAllUnresponsiveRemoteControls();
void recycleAllSessionsIdleForTooLong(double maxIdleTimeInSeconds);
}