class ServiceRetrier implements ServiceWrapper {

    public void setDelay(int delay) {

        if (delay < 0) {
            throw new IllegalArgumentException("Delay cannot be negative");
        }

        this._delay = delay;
    }

    public  ServiceRetrier(int delay, int maxTries);
    public  ServiceRetrier(int delay, int maxTries,
            boolean doubleDelay, boolean throwCauseException, Class<? extends Throwable>[] retryOn);
    public  ServiceRetrier();

}