@Retry(maxRetries=1, delay=1000L, jitter=0L, retryOn=TestException.class) @Bulkhead(value=1, waitingTaskQueue=1) @Asynchronous @ApplicationScoped public class BulkheadRetryDelayAsyncBean extends Object
Has a bulkhead of size 1
Retries 1 time on thrown TestException with 1 second delay
Constructor and Description |
---|
BulkheadRetryDelayAsyncBean() |
public Future<?> test(Barrier barrier, RuntimeException e)
Copyright © 2020 Eclipse Foundation. All rights reserved.