Record Class BloomFilterInfoFunction.BloomFilterInfo
java.lang.Object
java.lang.Record
org.infinispan.server.resp.commands.bloom.BloomFilterInfoFunction.BloomFilterInfo
- Enclosing class:
BloomFilterInfoFunction
@ProtoTypeId(6138)
public static record BloomFilterInfoFunction.BloomFilterInfo(long capacity, long size, int filters, long items, int expansion)
extends Record
Result of BF.INFO command.
- Since:
- 16.2
-
Constructor Summary
ConstructorsConstructorDescriptionBloomFilterInfo(long capacity, long size, int filters, long items, int expansion) Creates an instance of aBloomFilterInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongcapacity()Returns the value of thecapacityrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theexpansionrecord component.intfilters()Returns the value of thefiltersrecord component.final inthashCode()Returns a hash code value for this object.longitems()Returns the value of theitemsrecord component.longsize()Returns the value of thesizerecord component.toMap(BloomFilterInfoFunction.InfoType requestedType) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BloomFilterInfo
public BloomFilterInfo(long capacity, long size, int filters, long items, int expansion) Creates an instance of aBloomFilterInforecord class.- Parameters:
capacity- the value for thecapacityrecord componentsize- the value for thesizerecord componentfilters- the value for thefiltersrecord componentitems- the value for theitemsrecord componentexpansion- the value for theexpansionrecord 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. -
capacity
public long capacity()Returns the value of thecapacityrecord component.- Returns:
- the value of the
capacityrecord component
-
size
public long size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
filters
public int filters()Returns the value of thefiltersrecord component.- Returns:
- the value of the
filtersrecord component
-
items
public long items()Returns the value of theitemsrecord component.- Returns:
- the value of the
itemsrecord component
-
expansion
public int expansion()Returns the value of theexpansionrecord component.- Returns:
- the value of the
expansionrecord component
-