class RetryStrategy implements Serializable {

    public boolean shouldRetry() {
        return numberOfTriesLeft > 0;
    }

    public  RetryStrategy();
    public  RetryStrategy(int numberOfRetries, long timeToWait);

}