Details
Description
all the implementations do something like this:
public List<RetryReason> RetryReasons { get; set; } = new List<RetryReason>();
public IRetryStrategy RetryStrategy { get; set; } = new BestEffortRetryStrategy(new ControlledBackoff());
- most operations never need these properties
- they could be singletons as they dont appear to store any per operation state.
Attachments
For Gerrit Dashboard: NCBC-2653 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
136900,2 | NCBC-2653: retry refactor [WIP] | master | couchbase-net-client | Status: ABANDONED | 0 | +1 |
141403,2 | NCBC-2653: Unnecessary allocation in classes implementing IOperation | master | couchbase-net-client | Status: MERGED | +2 | +1 |