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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclose()getSize()getTerminalPrinter(int startRow) voidvoidrefresh()voidsetCursorPosition(int column, int row)
-
Field Details
-
TERMINAL_PRINTER
-
-
Constructor Details
-
BatchTerminal
public BatchTerminal()
-
-
Method Details
-
clear
-
refresh
-
getSize
-
doResizeIfNecessary
- Specified by:
doResizeIfNecessaryin interfaceTerminal
-
pollKeyPress
- Specified by:
pollKeyPressin interfaceTerminal
-
getCursorPosition
- Specified by:
getCursorPositionin interfaceTerminal
-
setCursorPosition
- Specified by:
setCursorPositionin interfaceTerminal
-
hideCursor
- Specified by:
hideCursorin interfaceTerminal
-
getTerminalPrinter
- Specified by:
getTerminalPrinterin interfaceTerminal
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-