Record Class CuckooFilterInfoFunction.CuckooFilterInfo
java.lang.Object
java.lang.Record
org.infinispan.server.resp.commands.cuckoo.CuckooFilterInfoFunction.CuckooFilterInfo
- Enclosing class:
CuckooFilterInfoFunction
@ProtoTypeId(6152)
public static record CuckooFilterInfoFunction.CuckooFilterInfo(long size, long numBuckets, int numFilters, long itemsInserted, long itemsDeleted, int bucketSize, int expansionRate, int maxIterations)
extends Record
Result of CF.INFO command.
- Since:
- 16.2
-
Constructor Summary
ConstructorsConstructorDescriptionCuckooFilterInfo(long size, long numBuckets, int numFilters, long itemsInserted, long itemsDeleted, int bucketSize, int expansionRate, int maxIterations) Creates an instance of aCuckooFilterInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebucketSizerecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theexpansionRaterecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theitemsDeletedrecord component.longReturns the value of theitemsInsertedrecord component.intReturns the value of themaxIterationsrecord component.longReturns the value of thenumBucketsrecord component.intReturns the value of thenumFiltersrecord component.longsize()Returns the value of thesizerecord component.toMap()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CuckooFilterInfo
public CuckooFilterInfo(long size, long numBuckets, int numFilters, long itemsInserted, long itemsDeleted, int bucketSize, int expansionRate, int maxIterations) Creates an instance of aCuckooFilterInforecord class.- Parameters:
size- the value for thesizerecord componentnumBuckets- the value for thenumBucketsrecord componentnumFilters- the value for thenumFiltersrecord componentitemsInserted- the value for theitemsInsertedrecord componentitemsDeleted- the value for theitemsDeletedrecord componentbucketSize- the value for thebucketSizerecord componentexpansionRate- the value for theexpansionRaterecord componentmaxIterations- the value for themaxIterationsrecord component
-
-
Method Details
-
toMap
-
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 with thecomparemethod from their corresponding wrapper classes. -
size
public long size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
numBuckets
public long numBuckets()Returns the value of thenumBucketsrecord component.- Returns:
- the value of the
numBucketsrecord component
-
numFilters
public int numFilters()Returns the value of thenumFiltersrecord component.- Returns:
- the value of the
numFiltersrecord component
-
itemsInserted
public long itemsInserted()Returns the value of theitemsInsertedrecord component.- Returns:
- the value of the
itemsInsertedrecord component
-
itemsDeleted
public long itemsDeleted()Returns the value of theitemsDeletedrecord component.- Returns:
- the value of the
itemsDeletedrecord component
-
bucketSize
public int bucketSize()Returns the value of thebucketSizerecord component.- Returns:
- the value of the
bucketSizerecord component
-
expansionRate
public int expansionRate()Returns the value of theexpansionRaterecord component.- Returns:
- the value of the
expansionRaterecord component
-
maxIterations
public int maxIterations()Returns the value of themaxIterationsrecord component.- Returns:
- the value of the
maxIterationsrecord component
-