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
FieldsModifier and TypeFieldDescriptionprivate final Adminprivate final Connectionprivate ScreenViewprivate static final org.slf4j.Loggerprivate static final longprivate final Terminalprivate Long -
Constructor Summary
Constructors -
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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
run
-
setTimer
-
cancelTimer
-