Class CommandStats
java.lang.Object
org.sensorhub.api.datastore.command.CommandStats
Immutable object representing statistics for commands of a specific command stream.
- Since:
- Mar 12, 2021
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
CommandStats.CommandStatsBuilder<B extends CommandStats.CommandStatsBuilder<B,
T>, T extends CommandStats> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TimeExtent
protected int[]
protected BigId
protected TimeExtent
protected long
-
Method Summary
-
Field Details
-
commandStreamID
-
issueTimeRange
-
actuationTimeRange
-
totalCommandCount
protected long totalCommandCount -
commandCountsByTime
protected int[] commandCountsByTime
-
-
Method Details
-
getCommandStreamID
- Returns:
- The ID of the command stream that these statistics apply to
-
getIssueTimeRange
- Returns:
- The time range spanned by issue times of all selected commands
-
getActuationTimeRange
- Returns:
- The time range spanned by actuation times of all selected commands
-
getTotalCommandCount
public long getTotalCommandCount()- Returns:
- The total number of selected commands
-
getCommandCountsByTime
public int[] getCommandCountsByTime()- Returns:
- The histogram of command counts vs. time
-
toString
-