public class RequestCallCounterInMemory extends Object implements RequestCallCounter
| Constructor and Description |
|---|
RequestCallCounterInMemory() |
| Modifier and Type | Method and Description |
|---|---|
void |
expire(String key,
int expiration,
TimeUnit unit) |
Long |
increment(String key) |
public Long increment(String key)
increment in interface RequestCallCounterpublic void expire(String key, int expiration, TimeUnit unit)
expire in interface RequestCallCounterCopyright © 2020. All rights reserved.