public interface SpincastAttemptsLimiterPluginRepository
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAttempts(String actionName,
AttemptCriteria... criterias)
Deletes all attempts of the specified action and criterias.
|
void |
deleteAttemptsOlderThan(String actionName,
Instant date)
Deletes all attempts of the action older than
the specified date.
|
Map<String,Integer> |
getAttemptsNumberPerCriteriaSince(String actionName,
Instant sinceDate,
AttemptCriteria... criterias)
Returne the number of attempt made for an action, by criterias.
|
void |
saveNewAttempt(String actionName,
AttemptCriteria... criterias)
Save a new attempt for an action, given some criterias.
|
void saveNewAttempt(String actionName, AttemptCriteria... criterias)
Map<String,Integer> getAttemptsNumberPerCriteriaSince(String actionName, Instant sinceDate, AttemptCriteria... criterias)
void deleteAttemptsOlderThan(String actionName, Instant date)
void deleteAttempts(String actionName, AttemptCriteria... criterias)
Copyright © 2019. All rights reserved.