Ejemplo n.º 1
0
 int getFailureCount() {
   if (!started.get()) {
     throw new IllegalStateException("FailureMonitor has not been started!");
   }
   return thread.getFailureCount();
 }