Notifies the given callback that the ping operation failed. @param callback the callback @param executor the executor used to invoke the callback @param cause the cause of failure
(PingCallback callback, Executor executor, Status cause)
| 169 | * @param cause the cause of failure |
| 170 | */ |
| 171 | public static void notifyFailed(PingCallback callback, Executor executor, Status cause) { |
| 172 | doExecute(executor, asRunnable(callback, cause)); |
| 173 | } |
| 174 | |
| 175 | /** |
| 176 | * Executes the given runnable. This prevents exceptions from propagating so that an exception |
no test coverage detected