Class Screen
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.Screen
- All Implemented Interfaces:
Closeable
,AutoCloseable
This dispatches key presses and timers to the current
ScreenView
.-
Field Summary
Modifier and TypeFieldDescriptionprivate final Admin
private final Connection
private ScreenView
private static final org.slf4j.Logger
private static final long
private final Terminal
private Long
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOGGER
-
SLEEP_TIMEOUT_MILLISECONDS
- See Also:
-
connection
-
admin
-
terminal
-
currentScreenView
-
timerTimestamp
-
-
Constructor Details
-
Screen
public Screen(org.apache.hadoop.conf.Configuration conf, long initialRefreshDelay, Mode initialMode, @Nullable List<Field> initialFields, @Nullable Field initialSortField, @Nullable Boolean initialAscendingSort, @Nullable List<RecordFilter> initialFilters, long numberOfIterations, boolean batchMode) throws IOException - Throws:
IOException
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
run
-
setTimer
-
cancelTimer
-