Class TopScreenView
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.AbstractScreenView
org.apache.hadoop.hbase.hbtop.screen.top.TopScreenView
- All Implemented Interfaces:
ScreenView
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private Integer
private static final int
private static final int
private static final int
private static final int
private final TopScreenPresenter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
handleKeyPress
(KeyPress keyPress) void
init()
private String
limitLineLength
(String line, int length) private void
showHeaders
(List<Header> headers) private void
private void
showSummary
(Summary summary) void
private ScreenView
private void
updatePageSize
(TerminalSize terminalSize) Methods inherited from class org.apache.hadoop.hbase.hbtop.screen.AbstractScreenView
cancelTimer, clearTerminal, getScreen, getTerminal, getTerminalPrinter, hideCursor, refreshTerminal, setCursorPosition, setTimer
-
Field Details
-
SUMMARY_START_ROW
- See Also:
-
SUMMARY_ROW_NUM
- See Also:
-
MESSAGE_ROW
- See Also:
-
RECORD_HEADER_ROW
- See Also:
-
RECORD_START_ROW
- See Also:
-
topScreenPresenter
-
pageSize
-
-
Constructor Details
-
TopScreenView
-
-
Method Details
-
init
- Specified by:
init
in interfaceScreenView
- Overrides:
init
in classAbstractScreenView
-
handleTimer
- Specified by:
handleTimer
in interfaceScreenView
- Overrides:
handleTimer
in classAbstractScreenView
-
handleKeyPress
- Specified by:
handleKeyPress
in interfaceScreenView
- Overrides:
handleKeyPress
in classAbstractScreenView
-
getTerminalSize
- Overrides:
getTerminalSize
in classAbstractScreenView
-
doResizeIfNecessary
- Overrides:
doResizeIfNecessary
in classAbstractScreenView
-
updatePageSize
-
getPageSize
-
showTopScreen
-
showSummary
-
showRecords
-
showHeaders
-
limitLineLength
-
clearMessage
-
unknownCommandMessage
-