Record Class FlecsInfo
java.lang.Object
java.lang.Record
com.github.elebras1.flecs.FlecsInfo
public record FlecsInfo(long lastComponentId, long minId, long maxId, float deltaTimeRaw, float deltaTime, float timeScale, float targetFps, float frameTimeTotal, float systemTimeTotal, float emitTimeTotal, float mergeTimeTotal, float rematchTimeTotal, double worldTimeTotal, double worldTimeTotalRaw, long frameCountTotal, long mergeCountTotal, long evalCompMonitorsTotal, long rematchCountTotal, long idCreateTotal, long idDeleteTotal, long tableCreateTotal, long tableDeleteTotal, long pipelineBuildCountTotal, long systemsRanTotal, long observersRanTotal, long queriesRanTotal, int tagIdCount, int componentIdCount, int pairIdCount, int tableCount, int creationTime, FlecsInfo.CommandStats cmd, String namePrefix)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFlecsInfo(long lastComponentId, long minId, long maxId, float deltaTimeRaw, float deltaTime, float timeScale, float targetFps, float frameTimeTotal, float systemTimeTotal, float emitTimeTotal, float mergeTimeTotal, float rematchTimeTotal, double worldTimeTotal, double worldTimeTotalRaw, long frameCountTotal, long mergeCountTotal, long evalCompMonitorsTotal, long rematchCountTotal, long idCreateTotal, long idDeleteTotal, long tableCreateTotal, long tableDeleteTotal, long pipelineBuildCountTotal, long systemsRanTotal, long observersRanTotal, long queriesRanTotal, int tagIdCount, int componentIdCount, int pairIdCount, int tableCount, int creationTime, FlecsInfo.CommandStats cmd, String namePrefix) Creates an instance of aFlecsInforecord class. -
Method Summary
Modifier and TypeMethodDescriptioncmd()Returns the value of thecmdrecord component.intReturns the value of thecomponentIdCountrecord component.intReturns the value of thecreationTimerecord component.floatReturns the value of thedeltaTimerecord component.floatReturns the value of thedeltaTimeRawrecord component.floatReturns the value of theemitTimeTotalrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theevalCompMonitorsTotalrecord component.longReturns the value of theframeCountTotalrecord component.floatReturns the value of theframeTimeTotalrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theidCreateTotalrecord component.longReturns the value of theidDeleteTotalrecord component.longReturns the value of thelastComponentIdrecord component.longmaxId()Returns the value of themaxIdrecord component.longReturns the value of themergeCountTotalrecord component.floatReturns the value of themergeTimeTotalrecord component.longminId()Returns the value of theminIdrecord component.Returns the value of thenamePrefixrecord component.longReturns the value of theobserversRanTotalrecord component.intReturns the value of thepairIdCountrecord component.longReturns the value of thepipelineBuildCountTotalrecord component.longReturns the value of thequeriesRanTotalrecord component.longReturns the value of therematchCountTotalrecord component.floatReturns the value of therematchTimeTotalrecord component.longReturns the value of thesystemsRanTotalrecord component.floatReturns the value of thesystemTimeTotalrecord component.intReturns the value of thetableCountrecord component.longReturns the value of thetableCreateTotalrecord component.longReturns the value of thetableDeleteTotalrecord component.intReturns the value of thetagIdCountrecord component.floatReturns the value of thetargetFpsrecord component.floatReturns the value of thetimeScalerecord component.final StringtoString()Returns a string representation of this record class.doubleReturns the value of theworldTimeTotalrecord component.doubleReturns the value of theworldTimeTotalRawrecord component.
-
Constructor Details
-
FlecsInfo
public FlecsInfo(long lastComponentId, long minId, long maxId, float deltaTimeRaw, float deltaTime, float timeScale, float targetFps, float frameTimeTotal, float systemTimeTotal, float emitTimeTotal, float mergeTimeTotal, float rematchTimeTotal, double worldTimeTotal, double worldTimeTotalRaw, long frameCountTotal, long mergeCountTotal, long evalCompMonitorsTotal, long rematchCountTotal, long idCreateTotal, long idDeleteTotal, long tableCreateTotal, long tableDeleteTotal, long pipelineBuildCountTotal, long systemsRanTotal, long observersRanTotal, long queriesRanTotal, int tagIdCount, int componentIdCount, int pairIdCount, int tableCount, int creationTime, FlecsInfo.CommandStats cmd, String namePrefix) Creates an instance of aFlecsInforecord class.- Parameters:
lastComponentId- the value for thelastComponentIdrecord componentminId- the value for theminIdrecord componentmaxId- the value for themaxIdrecord componentdeltaTimeRaw- the value for thedeltaTimeRawrecord componentdeltaTime- the value for thedeltaTimerecord componenttimeScale- the value for thetimeScalerecord componenttargetFps- the value for thetargetFpsrecord componentframeTimeTotal- the value for theframeTimeTotalrecord componentsystemTimeTotal- the value for thesystemTimeTotalrecord componentemitTimeTotal- the value for theemitTimeTotalrecord componentmergeTimeTotal- the value for themergeTimeTotalrecord componentrematchTimeTotal- the value for therematchTimeTotalrecord componentworldTimeTotal- the value for theworldTimeTotalrecord componentworldTimeTotalRaw- the value for theworldTimeTotalRawrecord componentframeCountTotal- the value for theframeCountTotalrecord componentmergeCountTotal- the value for themergeCountTotalrecord componentevalCompMonitorsTotal- the value for theevalCompMonitorsTotalrecord componentrematchCountTotal- the value for therematchCountTotalrecord componentidCreateTotal- the value for theidCreateTotalrecord componentidDeleteTotal- the value for theidDeleteTotalrecord componenttableCreateTotal- the value for thetableCreateTotalrecord componenttableDeleteTotal- the value for thetableDeleteTotalrecord componentpipelineBuildCountTotal- the value for thepipelineBuildCountTotalrecord componentsystemsRanTotal- the value for thesystemsRanTotalrecord componentobserversRanTotal- the value for theobserversRanTotalrecord componentqueriesRanTotal- the value for thequeriesRanTotalrecord componenttagIdCount- the value for thetagIdCountrecord componentcomponentIdCount- the value for thecomponentIdCountrecord componentpairIdCount- the value for thepairIdCountrecord componenttableCount- the value for thetableCountrecord componentcreationTime- the value for thecreationTimerecord componentcmd- the value for thecmdrecord componentnamePrefix- the value for thenamePrefixrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
lastComponentId
public long lastComponentId()Returns the value of thelastComponentIdrecord component.- Returns:
- the value of the
lastComponentIdrecord component
-
minId
public long minId()Returns the value of theminIdrecord component.- Returns:
- the value of the
minIdrecord component
-
maxId
public long maxId()Returns the value of themaxIdrecord component.- Returns:
- the value of the
maxIdrecord component
-
deltaTimeRaw
public float deltaTimeRaw()Returns the value of thedeltaTimeRawrecord component.- Returns:
- the value of the
deltaTimeRawrecord component
-
deltaTime
public float deltaTime()Returns the value of thedeltaTimerecord component.- Returns:
- the value of the
deltaTimerecord component
-
timeScale
public float timeScale()Returns the value of thetimeScalerecord component.- Returns:
- the value of the
timeScalerecord component
-
targetFps
public float targetFps()Returns the value of thetargetFpsrecord component.- Returns:
- the value of the
targetFpsrecord component
-
frameTimeTotal
public float frameTimeTotal()Returns the value of theframeTimeTotalrecord component.- Returns:
- the value of the
frameTimeTotalrecord component
-
systemTimeTotal
public float systemTimeTotal()Returns the value of thesystemTimeTotalrecord component.- Returns:
- the value of the
systemTimeTotalrecord component
-
emitTimeTotal
public float emitTimeTotal()Returns the value of theemitTimeTotalrecord component.- Returns:
- the value of the
emitTimeTotalrecord component
-
mergeTimeTotal
public float mergeTimeTotal()Returns the value of themergeTimeTotalrecord component.- Returns:
- the value of the
mergeTimeTotalrecord component
-
rematchTimeTotal
public float rematchTimeTotal()Returns the value of therematchTimeTotalrecord component.- Returns:
- the value of the
rematchTimeTotalrecord component
-
worldTimeTotal
public double worldTimeTotal()Returns the value of theworldTimeTotalrecord component.- Returns:
- the value of the
worldTimeTotalrecord component
-
worldTimeTotalRaw
public double worldTimeTotalRaw()Returns the value of theworldTimeTotalRawrecord component.- Returns:
- the value of the
worldTimeTotalRawrecord component
-
frameCountTotal
public long frameCountTotal()Returns the value of theframeCountTotalrecord component.- Returns:
- the value of the
frameCountTotalrecord component
-
mergeCountTotal
public long mergeCountTotal()Returns the value of themergeCountTotalrecord component.- Returns:
- the value of the
mergeCountTotalrecord component
-
evalCompMonitorsTotal
public long evalCompMonitorsTotal()Returns the value of theevalCompMonitorsTotalrecord component.- Returns:
- the value of the
evalCompMonitorsTotalrecord component
-
rematchCountTotal
public long rematchCountTotal()Returns the value of therematchCountTotalrecord component.- Returns:
- the value of the
rematchCountTotalrecord component
-
idCreateTotal
public long idCreateTotal()Returns the value of theidCreateTotalrecord component.- Returns:
- the value of the
idCreateTotalrecord component
-
idDeleteTotal
public long idDeleteTotal()Returns the value of theidDeleteTotalrecord component.- Returns:
- the value of the
idDeleteTotalrecord component
-
tableCreateTotal
public long tableCreateTotal()Returns the value of thetableCreateTotalrecord component.- Returns:
- the value of the
tableCreateTotalrecord component
-
tableDeleteTotal
public long tableDeleteTotal()Returns the value of thetableDeleteTotalrecord component.- Returns:
- the value of the
tableDeleteTotalrecord component
-
pipelineBuildCountTotal
public long pipelineBuildCountTotal()Returns the value of thepipelineBuildCountTotalrecord component.- Returns:
- the value of the
pipelineBuildCountTotalrecord component
-
systemsRanTotal
public long systemsRanTotal()Returns the value of thesystemsRanTotalrecord component.- Returns:
- the value of the
systemsRanTotalrecord component
-
observersRanTotal
public long observersRanTotal()Returns the value of theobserversRanTotalrecord component.- Returns:
- the value of the
observersRanTotalrecord component
-
queriesRanTotal
public long queriesRanTotal()Returns the value of thequeriesRanTotalrecord component.- Returns:
- the value of the
queriesRanTotalrecord component
-
tagIdCount
public int tagIdCount()Returns the value of thetagIdCountrecord component.- Returns:
- the value of the
tagIdCountrecord component
-
componentIdCount
public int componentIdCount()Returns the value of thecomponentIdCountrecord component.- Returns:
- the value of the
componentIdCountrecord component
-
pairIdCount
public int pairIdCount()Returns the value of thepairIdCountrecord component.- Returns:
- the value of the
pairIdCountrecord component
-
tableCount
public int tableCount()Returns the value of thetableCountrecord component.- Returns:
- the value of the
tableCountrecord component
-
creationTime
public int creationTime()Returns the value of thecreationTimerecord component.- Returns:
- the value of the
creationTimerecord component
-
cmd
Returns the value of thecmdrecord component.- Returns:
- the value of the
cmdrecord component
-
namePrefix
Returns the value of thenamePrefixrecord component.- Returns:
- the value of the
namePrefixrecord component
-