MCPcopy Index your code
hub / github.com/antlr/codebuff / isSatisfied

Method isSatisfied

output/java_guava/1.4.17/Monitor.java:1066–1074  ·  view source on GitHub ↗

Exactly like guard.isSatisfied(), but in addition signals all waiting threads in the (hopefully unlikely) event that isSatisfied() throws.

(Guard guard)

Source from the content-addressed store, hash-verified

1064 */
1065
1066 @GuardedBy("lock")
1067 private boolean isSatisfied(Guard guard) {
1068 try {
1069 return guard.isSatisfied();
1070 } catch (Throwable throwable) {
1071 signalAllWaiters();
1072 throw Throwables.propagate(throwable);
1073 }
1074 }
1075
1076 /**
1077 * Signals all threads waiting on guards.

Callers 1

signalNextWaiterMethod · 0.95

Calls 3

signalAllWaitersMethod · 0.95
propagateMethod · 0.95
isSatisfiedMethod · 0.45

Tested by

no test coverage detected