MCPcopy Create free account
hub / github.com/BaseXdb/basex / ids

Method ids

basex-api/src/main/java/org/basex/http/ws/WsPool.java:36–40  ·  view source on GitHub ↗

Returns the IDs of all connected clients. @return client IDs

()

Source from the content-addressed store, hash-verified

34 * @return client IDs
35 */
36 public static TokenList ids() {
37 final TokenList ids = new TokenList(CLIENTS.size());
38 for(final String key : CLIENTS.keySet()) ids.add(key);
39 return ids;
40 }
41
42 /**
43 * Adds a WebSocket to the clients list.

Callers 2

cleanPoolMethod · 0.95
valueMethod · 0.95

Calls 2

addMethod · 0.95
sizeMethod · 0.65

Tested by 1

cleanPoolMethod · 0.76