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
ConstructorsConstructorDescriptionCommandStats(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 aCommandStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongaddCount()Returns the value of theaddCountrecord component.longReturns the value of thebatchedCommandCountrecord component.longReturns the value of thebatchedEntityCountrecord component.longReturns the value of theclearCountrecord component.longReturns the value of thedeleteCountrecord component.longReturns the value of thediscardCountrecord component.longReturns the value of theensureCountrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theeventCountrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of themodifiedCountrecord component.longReturns the value of theotherCountrecord component.longReturns the value of theremoveCountrecord component.longsetCount()Returns the value of thesetCountrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aCommandStatsrecord class.- Parameters:
addCount- the value for theaddCountrecord componentremoveCount- the value for theremoveCountrecord componentdeleteCount- the value for thedeleteCountrecord componentclearCount- the value for theclearCountrecord componentsetCount- the value for thesetCountrecord componentensureCount- the value for theensureCountrecord componentmodifiedCount- the value for themodifiedCountrecord componentdiscardCount- the value for thediscardCountrecord componenteventCount- the value for theeventCountrecord componentotherCount- the value for theotherCountrecord componentbatchedEntityCount- the value for thebatchedEntityCountrecord componentbatchedCommandCount- the value for thebatchedCommandCountrecord component
-
-
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 with thecomparemethod from their corresponding wrapper classes. -
addCount
public long addCount()Returns the value of theaddCountrecord component.- Returns:
- the value of the
addCountrecord component
-
removeCount
public long removeCount()Returns the value of theremoveCountrecord component.- Returns:
- the value of the
removeCountrecord component
-
deleteCount
public long deleteCount()Returns the value of thedeleteCountrecord component.- Returns:
- the value of the
deleteCountrecord component
-
clearCount
public long clearCount()Returns the value of theclearCountrecord component.- Returns:
- the value of the
clearCountrecord component
-
setCount
public long setCount()Returns the value of thesetCountrecord component.- Returns:
- the value of the
setCountrecord component
-
ensureCount
public long ensureCount()Returns the value of theensureCountrecord component.- Returns:
- the value of the
ensureCountrecord component
-
modifiedCount
public long modifiedCount()Returns the value of themodifiedCountrecord component.- Returns:
- the value of the
modifiedCountrecord component
-
discardCount
public long discardCount()Returns the value of thediscardCountrecord component.- Returns:
- the value of the
discardCountrecord component
-
eventCount
public long eventCount()Returns the value of theeventCountrecord component.- Returns:
- the value of the
eventCountrecord component
-
otherCount
public long otherCount()Returns the value of theotherCountrecord component.- Returns:
- the value of the
otherCountrecord component
-
batchedEntityCount
public long batchedEntityCount()Returns the value of thebatchedEntityCountrecord component.- Returns:
- the value of the
batchedEntityCountrecord component
-
batchedCommandCount
public long batchedCommandCount()Returns the value of thebatchedCommandCountrecord component.- Returns:
- the value of the
batchedCommandCountrecord component
-