Uses of Class
org.spincast.plugins.attemptslimiter.AttemptCriteria
-
Uses of AttemptCriteria in org.spincast.plugins.attemptslimiter
Modifier and TypeMethodDescriptionAttemptsManager.attempt
(String attemptName, AttemptCriteria... criterias) Gets the currentAttempt
, given the action to protect and criterias.AttemptsManager.attempt
(String attemptName, AttemptsAutoIncrementType attemptsAutoIncrementType, AttemptCriteria... criterias) Gets the currentAttempt
, given the action to protect and criterias.AttemptsManagerDefault.attempt
(String actionName, AttemptCriteria... criterias) AttemptsManagerDefault.attempt
(String actionName, AttemptsAutoIncrementType attemptsAutoIncrementType, AttemptCriteria... criterias) AttemptFactory.createAttempt
(boolean maxReached, String actionName, AttemptCriteria... criterias) void
SpincastAttemptsLimiterPluginRepository.deleteAttempts
(String actionName, AttemptCriteria... criterias) Deletes all attempts of the specified action and criterias.SpincastAttemptsLimiterPluginRepository.getAttemptsNumberPerCriteriaSince
(String actionName, Instant sinceDate, AttemptCriteria... criterias) Returne the number of attempt made for an action, by criterias.void
SpincastAttemptsLimiterPluginRepository.saveNewAttempt
(String actionName, AttemptCriteria... criterias) Save a new attempt for an action, given some criterias.ModifierConstructorDescriptionAttemptDefault
(SpincastAttemptsLimiterPluginRepository spincastAttemptsLimiterPlguinRepository, SpincastAttemptsLimiterPluginConfig spincastAttemptsLimiterPluginConfig, boolean maxReached, String actionName, AttemptCriteria... criterias)