Record Class CacheTestSupport.CacheOperation.InvalidateAll<K,V>
java.lang.Object
java.lang.Record
cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.InvalidateAll<K,V>
- Type Parameters:
K- key type | 键类型V- value type | 值类型- Record Components:
keys- the keys | 键集合
- All Implemented Interfaces:
CacheTestSupport.CacheOperation<K,V>
- Enclosing interface:
CacheTestSupport.CacheOperation<K,V>
public static record CacheTestSupport.CacheOperation.InvalidateAll<K,V> (Iterable<? extends K> keys)
extends Record
implements CacheTestSupport.CacheOperation<K,V>
Invalidate all operation | 批量失效操作
- Since:
- JDK 25, opencode-base-cache V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface CacheTestSupport.CacheOperation
CacheTestSupport.CacheOperation.Get<K,V>, CacheTestSupport.CacheOperation.GetAll<K, V>, CacheTestSupport.CacheOperation.GetWithLoader<K, V>, CacheTestSupport.CacheOperation.Invalidate<K, V>, CacheTestSupport.CacheOperation.InvalidateAll<K, V>, CacheTestSupport.CacheOperation.Put<K, V>, CacheTestSupport.CacheOperation.PutAll<K, V>, CacheTestSupport.CacheOperation.PutAllWithTtl<K, V>, CacheTestSupport.CacheOperation.PutIfAbsent<K, V>, CacheTestSupport.CacheOperation.PutIfAbsentWithTtl<K, V>, CacheTestSupport.CacheOperation.PutWithTtl<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionInvalidateAll(Iterable<? extends K> keys) Creates an instance of aInvalidateAllrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.keys()Returns the value of thekeysrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InvalidateAll
-
-
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). -
keys
-