public <T> boolean execute(final Predicate<T> predicate, final T arg) {
        do {
            if (predicate.test(arg)) {
                return true;
            }
        } while (!isTimeout());
        return false;
    }
@Test
    void assertExecute() {
        assertTrue(new RetryExecutor(5L, 2L).execute(value -> value > 0, 1));
    }