public interface RollingWindow
| Modifier and Type | Method and Description |
|---|---|
static RollingWindow |
create(int size,
int failureThreshold) |
boolean |
recordFailure()
Records a failed invocation
|
boolean |
recordSuccess()
Records a successful invocation
|
boolean recordSuccess()
boolean recordFailure()
static RollingWindow create(int size, int failureThreshold)
Copyright © 2018–2020. All rights reserved.