public static interface ClusterStatusPublisher.Publisher extends Closeable
void connect(org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionvoid publish(ClusterMetrics cs)
void close()
close 在接口中 AutoCloseableclose 在接口中 CloseableCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.