Class LogviewerServer
- java.lang.Object
-
- org.apache.storm.daemon.logviewer.LogviewerServer
-
- All Implemented Interfaces:
AutoCloseable
public class LogviewerServer extends Object implements AutoCloseable
The main entry of Logviewer.
-
-
Field Summary
Fields Modifier and Type Field Description static String
STATIC_RESOURCE_DIRECTORY_PATH
-
Constructor Summary
Constructors Constructor Description LogviewerServer(Map<String,Object> conf, StormMetricsRegistry metricsRegistry)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static void
main(String[] args)
Main method to start the server.
-
-
-
Field Detail
-
STATIC_RESOURCE_DIRECTORY_PATH
public static final String STATIC_RESOURCE_DIRECTORY_PATH
-
-
Constructor Detail
-
LogviewerServer
public LogviewerServer(Map<String,Object> conf, StormMetricsRegistry metricsRegistry)
Constructor.- Parameters:
conf
- Logviewer conf for the serversmetricsRegistry
- The metrics registry
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-