public class LogviewerServer extends Object implements AutoCloseable
The main entry of Logviewer.
Modifier and Type | Field and Description |
---|---|
static String |
STATIC_RESOURCE_DIRECTORY_PATH |
Constructor and Description |
---|
LogviewerServer(Map<String,Object> conf,
StormMetricsRegistry metricsRegistry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
static void |
main(String[] args)
Main method to start the server.
|
public static final String STATIC_RESOURCE_DIRECTORY_PATH
public LogviewerServer(Map<String,Object> conf, StormMetricsRegistry metricsRegistry)
Constructor.
conf
- Logviewer conf for the serversmetricsRegistry
- The metrics registrypublic void close()
close
in interface AutoCloseable
Copyright © 2019 The Apache Software Foundation. All rights reserved.