Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ getMaxSession
Method
getMaxSession
java/src/org/openqa/selenium/grid/graphql/Grid.java:127–129 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
125
}
126
127
public
int
getMaxSession() {
128
return
distributorStatus.getNodes().stream().mapToInt(NodeStatus::getMaxSessionCount).sum();
129
}
130
131
public
int
getSessionQueueSize() {
132
return
queueInfoList.size();
Callers
nothing calls this directly
Calls
2
stream
Method · 0.45
getNodes
Method · 0.45
Tested by
no test coverage detected