@InterfaceAudience.Private public class Screen extends Object implements Closeable
ScreenView
.Modifier and Type | Field and Description |
---|---|
private Admin |
admin |
private Connection |
connection |
private ScreenView |
currentScreenView |
private static org.slf4j.Logger |
LOGGER |
private static long |
SLEEP_TIMEOUT_MILLISECONDS |
private Terminal |
terminal |
private Long |
timerTimestamp |
Constructor and Description |
---|
Screen(org.apache.hadoop.conf.Configuration conf,
long initialRefreshDelay,
Mode initialMode,
List<Field> initialFields,
Field initialSortField,
Boolean initialAscendingSort,
List<RecordFilter> initialFilters,
long numberOfIterations,
boolean batchMode) |
Modifier and Type | Method and Description |
---|---|
void |
cancelTimer() |
void |
close() |
void |
run() |
void |
setTimer(long delay) |
private static final org.slf4j.Logger LOGGER
private static final long SLEEP_TIMEOUT_MILLISECONDS
private final Connection connection
private ScreenView currentScreenView
private Long timerTimestamp
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
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void run()
public void setTimer(long delay)
public void cancelTimer()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.