Class BatchTerminal
java.lang.Object
org.apache.hadoop.hbase.hbtop.terminal.impl.batch.BatchTerminal
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Terminal
An implementation of the
Terminal
interface for batch mode. This implementation produces
output that's more sensible for collecting to a log file or for parsing. There is no limit on the
number of output lines, and the output doesn't contain any escape sequences for formatting.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
close()
getSize()
getTerminalPrinter
(int startRow) void
void
refresh()
void
setCursorPosition
(int column, int row)
-
Field Details
-
TERMINAL_PRINTER
-
-
Constructor Details
-
BatchTerminal
public BatchTerminal()
-
-
Method Details
-
clear
-
refresh
-
getSize
-
doResizeIfNecessary
- Specified by:
doResizeIfNecessary
in interfaceTerminal
-
pollKeyPress
- Specified by:
pollKeyPress
in interfaceTerminal
-
getCursorPosition
- Specified by:
getCursorPosition
in interfaceTerminal
-
setCursorPosition
- Specified by:
setCursorPosition
in interfaceTerminal
-
hideCursor
- Specified by:
hideCursor
in interfaceTerminal
-
getTerminalPrinter
- Specified by:
getTerminalPrinter
in interfaceTerminal
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-