Record Class CachePasswordLoginRateLimiter.Window
java.lang.Object
java.lang.Record
io.leandev.appfuse.security.auth.CachePasswordLoginRateLimiter.Window
- All Implemented Interfaces:
Serializable
- Enclosing class:
CachePasswordLoginRateLimiter
public static record CachePasswordLoginRateLimiter.Window(List<Instant> acceptedAt)
extends Record
implements Serializable
cache 值是有界的不可變接受時間快照,不含 IP、username 或憑證。
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theacceptedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Window
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
acceptedAt
-