
public.javadoc.org.spincast.plugins.attemptslimiter.AttemptRule.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
AttemptRule (org.spincast:spincast-framework 1.14.0 API)
org.spincast.plugins.attemptslimiter
Interface AttemptRule
-
- All Known Implementing Classes:
- AttemptRuleDefault
public interface AttemptRule
An attempt rule.
You need to register those using
AttemptsManager.registerAttempRule(AttemptRule)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
String
getActionName()
The action to protect.
Duration
getDuration()
The duration in which a maximum number
of attempts is allowed.
int
getNbrMaxAttemptsPerDuration()
The number of allowed attempts in a given
duration.
Copyright © 2019. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy