Class ActiveSessions
- java.lang.Object
-
- org.openqa.selenium.remote.server.ActiveSessions
-
public class ActiveSessions extends java.lang.ObjectAll currentActiveSessions that we're aware of.
-
-
Constructor Summary
Constructors Constructor Description ActiveSessions(long inactiveSessionTimeout, java.util.concurrent.TimeUnit unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListener(ActiveSessionListener listener)voidcleanUp()ActiveSessionget(org.openqa.selenium.remote.SessionId id)java.util.Collection<ActiveSession>getAllSessions()voidinvalidate(org.openqa.selenium.remote.SessionId id)voidput(ActiveSession session)voidremoveListener(ActiveSessionListener listener)java.lang.StringtoString()
-
-
-
Method Detail
-
put
public void put(ActiveSession session)
-
get
public ActiveSession get(org.openqa.selenium.remote.SessionId id)
-
invalidate
public void invalidate(org.openqa.selenium.remote.SessionId id)
-
getAllSessions
public java.util.Collection<ActiveSession> getAllSessions()
-
cleanUp
public void cleanUp()
-
addListener
public void addListener(ActiveSessionListener listener)
-
removeListener
public void removeListener(ActiveSessionListener listener)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-