Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/storm
/ getQueueLoad
Method
getQueueLoad
storm-client/src/jvm/org/apache/storm/utils/JCQueue.java:99–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
97
}
98
99
public
double getQueueLoad() {
100
return
((double) recvQueue.size()) / recvQueue.capacity();
101
}
102
103
/**
104
* Non blocking. Returns immediately
if
Q is empty. Returns number of elements consumed from Q.
Callers
1
refreshLoad
Method · 0.80
Calls
1
size
Method · 0.65
Tested by
no test coverage detected