Package edu.caltech.nanodb.commands
Class ShowSystemStatsCommand
- java.lang.Object
-
- edu.caltech.nanodb.commands.Command
-
- edu.caltech.nanodb.commands.ShowSystemStatsCommand
-
public class ShowSystemStatsCommand extends Command
Implements the "SHOW [system] STATS" command.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.caltech.nanodb.commands.Command
Command.Type
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[][]
PERF_COUNTERS
These are the performance counters corresponding to various subsystems.static java.lang.String
STORAGE_SYSTEM
private java.lang.String
systemName
The subsystem that we are displaying statistics for.
-
Constructor Summary
Constructors Constructor Description ShowSystemStatsCommand(java.lang.String systemName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(NanoDBServer server)
Actually performs the command.-
Methods inherited from class edu.caltech.nanodb.commands.Command
getCommandType
-
-
-
-
Field Detail
-
STORAGE_SYSTEM
public static final java.lang.String STORAGE_SYSTEM
- See Also:
- Constant Field Values
-
systemName
private java.lang.String systemName
The subsystem that we are displaying statistics for.
-
PERF_COUNTERS
private static final java.lang.String[][] PERF_COUNTERS
These are the performance counters corresponding to various subsystems.
-
-
Method Detail
-
execute
public void execute(NanoDBServer server) throws ExecutionException
Description copied from class:Command
Actually performs the command.- Specified by:
execute
in classCommand
- Throws:
ExecutionException
- if an issue occurs during command execution
-
-