@Override public void execute() throws Exception { (new HerdThreadHelper()).sleep(null); } });
herdThreadHelper.executeAsync(new Runnable()
herdThreadHelper.sleep(retryDelaySecs * 1000L);
herdThreadHelper.executeAsync(new Runnable()
@Test public void testSleep() throws Exception { // Sleep for 1 second herdThreadHelper.sleep(1 * 1000L); // Passing null should result in Exception that is eaten and logged executeWithoutLogging(HerdThreadHelper.class, new Command() { @Override public void execute() throws Exception { (new HerdThreadHelper()).sleep(null); } }); }
herdThreadHelper.executeAsync(new Runnable()