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

    Constructors
    Constructor
    Description
    CuckooFilterInfo(long size, long numBuckets, int numFilters, long itemsInserted, long itemsDeleted, int bucketSize, int expansionRate, int maxIterations)
    Creates an instance of a CuckooFilterInfo record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the bucketSize record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    int
    Returns the value of the expansionRate record component.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the itemsDeleted record component.
    long
    Returns the value of the itemsInserted record component.
    int
    Returns the value of the maxIterations record component.
    long
    Returns the value of the numBuckets record component.
    int
    Returns the value of the numFilters record component.
    long
    Returns the value of the size record component.
     
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a CuckooFilterInfo record class.
      Parameters:
      size - the value for the size record component
      numBuckets - the value for the numBuckets record component
      numFilters - the value for the numFilters record component
      itemsInserted - the value for the itemsInserted record component
      itemsDeleted - the value for the itemsDeleted record component
      bucketSize - the value for the bucketSize record component
      expansionRate - the value for the expansionRate record component
      maxIterations - the value for the maxIterations record component
  • Method Details

    • toMap

      public Map<String,Long> toMap()
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • size

      public long size()
      Returns the value of the size record component.
      Returns:
      the value of the size record component
    • numBuckets

      public long numBuckets()
      Returns the value of the numBuckets record component.
      Returns:
      the value of the numBuckets record component
    • numFilters

      public int numFilters()
      Returns the value of the numFilters record component.
      Returns:
      the value of the numFilters record component
    • itemsInserted

      public long itemsInserted()
      Returns the value of the itemsInserted record component.
      Returns:
      the value of the itemsInserted record component
    • itemsDeleted

      public long itemsDeleted()
      Returns the value of the itemsDeleted record component.
      Returns:
      the value of the itemsDeleted record component
    • bucketSize

      public int bucketSize()
      Returns the value of the bucketSize record component.
      Returns:
      the value of the bucketSize record component
    • expansionRate

      public int expansionRate()
      Returns the value of the expansionRate record component.
      Returns:
      the value of the expansionRate record component
    • maxIterations

      public int maxIterations()
      Returns the value of the maxIterations record component.
      Returns:
      the value of the maxIterations record component