Record Class FlecsInfo.CommandStats

java.lang.Object
java.lang.Record
com.github.elebras1.flecs.FlecsInfo.CommandStats
Enclosing class:
FlecsInfo

public static record FlecsInfo.CommandStats(long addCount, long removeCount, long deleteCount, long clearCount, long setCount, long ensureCount, long modifiedCount, long discardCount, long eventCount, long otherCount, long batchedEntityCount, long batchedCommandCount) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    CommandStats(long addCount, long removeCount, long deleteCount, long clearCount, long setCount, long ensureCount, long modifiedCount, long discardCount, long eventCount, long otherCount, long batchedEntityCount, long batchedCommandCount)
    Creates an instance of a CommandStats record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the addCount record component.
    long
    Returns the value of the batchedCommandCount record component.
    long
    Returns the value of the batchedEntityCount record component.
    long
    Returns the value of the clearCount record component.
    long
    Returns the value of the deleteCount record component.
    long
    Returns the value of the discardCount record component.
    long
    Returns the value of the ensureCount record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    long
    Returns the value of the eventCount record component.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the modifiedCount record component.
    long
    Returns the value of the otherCount record component.
    long
    Returns the value of the removeCount record component.
    long
    Returns the value of the setCount 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

    • CommandStats

      public CommandStats(long addCount, long removeCount, long deleteCount, long clearCount, long setCount, long ensureCount, long modifiedCount, long discardCount, long eventCount, long otherCount, long batchedEntityCount, long batchedCommandCount)
      Creates an instance of a CommandStats record class.
      Parameters:
      addCount - the value for the addCount record component
      removeCount - the value for the removeCount record component
      deleteCount - the value for the deleteCount record component
      clearCount - the value for the clearCount record component
      setCount - the value for the setCount record component
      ensureCount - the value for the ensureCount record component
      modifiedCount - the value for the modifiedCount record component
      discardCount - the value for the discardCount record component
      eventCount - the value for the eventCount record component
      otherCount - the value for the otherCount record component
      batchedEntityCount - the value for the batchedEntityCount record component
      batchedCommandCount - the value for the batchedCommandCount record component
  • Method Details

    • 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.
    • addCount

      public long addCount()
      Returns the value of the addCount record component.
      Returns:
      the value of the addCount record component
    • removeCount

      public long removeCount()
      Returns the value of the removeCount record component.
      Returns:
      the value of the removeCount record component
    • deleteCount

      public long deleteCount()
      Returns the value of the deleteCount record component.
      Returns:
      the value of the deleteCount record component
    • clearCount

      public long clearCount()
      Returns the value of the clearCount record component.
      Returns:
      the value of the clearCount record component
    • setCount

      public long setCount()
      Returns the value of the setCount record component.
      Returns:
      the value of the setCount record component
    • ensureCount

      public long ensureCount()
      Returns the value of the ensureCount record component.
      Returns:
      the value of the ensureCount record component
    • modifiedCount

      public long modifiedCount()
      Returns the value of the modifiedCount record component.
      Returns:
      the value of the modifiedCount record component
    • discardCount

      public long discardCount()
      Returns the value of the discardCount record component.
      Returns:
      the value of the discardCount record component
    • eventCount

      public long eventCount()
      Returns the value of the eventCount record component.
      Returns:
      the value of the eventCount record component
    • otherCount

      public long otherCount()
      Returns the value of the otherCount record component.
      Returns:
      the value of the otherCount record component
    • batchedEntityCount

      public long batchedEntityCount()
      Returns the value of the batchedEntityCount record component.
      Returns:
      the value of the batchedEntityCount record component
    • batchedCommandCount

      public long batchedCommandCount()
      Returns the value of the batchedCommandCount record component.
      Returns:
      the value of the batchedCommandCount record component