MCPcopy Index your code
hub / github.com/apache/tomcat / checkRegisterForRead

Method checkRegisterForRead

java/org/apache/coyote/Request.java:268–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 }
267
268 private boolean checkRegisterForRead() {
269 AtomicBoolean ready = new AtomicBoolean(false);
270 synchronized (nonBlockingStateLock) {
271 if (!registeredForRead) {
272 action(ActionCode.NB_READ_INTEREST, ready);
273 registeredForRead = !ready.get();
274 }
275 }
276 return ready.get();
277 }
278
279 /**
280 * Called when data is available for reading.

Callers 1

isReadyMethod · 0.95

Calls 2

actionMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected