Package org.openqa.selenium.grid.data
Class NodeStatus
- java.lang.Object
-
- org.openqa.selenium.grid.data.NodeStatus
-
public class NodeStatus extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NodeStatus(NodeId nodeId, java.net.URI externalUri, int maxSessionCount, java.util.Set<Slot> slots, Availability availability)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static NodeStatus
fromJson(org.openqa.selenium.json.JsonInput input)
Availability
getAvailability()
NodeId
getId()
long
getLastSessionCreated()
float
getLoad()
int
getMaxSessionCount()
java.util.Set<Slot>
getSlots()
java.net.URI
getUri()
boolean
hasCapability(org.openqa.selenium.Capabilities caps)
boolean
hasCapacity()
boolean
hasCapacity(org.openqa.selenium.Capabilities caps)
int
hashCode()
-
-
-
Constructor Detail
-
NodeStatus
public NodeStatus(NodeId nodeId, java.net.URI externalUri, int maxSessionCount, java.util.Set<Slot> slots, Availability availability)
-
-
Method Detail
-
hasCapability
public boolean hasCapability(org.openqa.selenium.Capabilities caps)
-
hasCapacity
public boolean hasCapacity()
-
hasCapacity
public boolean hasCapacity(org.openqa.selenium.Capabilities caps)
-
getId
public NodeId getId()
-
getUri
public java.net.URI getUri()
-
getMaxSessionCount
public int getMaxSessionCount()
-
getSlots
public java.util.Set<Slot> getSlots()
-
getAvailability
public Availability getAvailability()
-
getLoad
public float getLoad()
-
getLastSessionCreated
public long getLastSessionCreated()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
fromJson
public static NodeStatus fromJson(org.openqa.selenium.json.JsonInput input)
-
-