(
final State from, final Throwable cause)
| 523 | } |
| 524 | |
| 525 | @GuardedBy("monitor") |
| 526 | private void failed( |
| 527 | final State from, final Throwable cause) { |
| 528 | // can't memoize this one due to the exception |
| 529 | new Callback<Listener>("failed({from = " + from + ", cause = " + cause + "})") { |
| 530 | @Override |
| 531 | void call(Listener listener) { |
| 532 | listener.failed(from, cause); |
| 533 | } |
| 534 | }.enqueueOn(listeners); |
| 535 | } |
| 536 | |
| 537 | /** |
| 538 | * An immutable snapshot of the current state of the service. This class represents a consistent |
no test coverage detected