Class LogviewerServer
java.lang.Object
org.apache.storm.daemon.logviewer.LogviewerServer
- All Implemented Interfaces:
AutoCloseable
The main entry of Logviewer.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLogviewerServer
(Map<String, Object> conf, StormMetricsRegistry metricsRegistry) Constructor. -
Method Summary
-
Field Details
-
STATIC_RESOURCE_DIRECTORY_PATH
-
-
Constructor Details
-
LogviewerServer
Constructor.- Parameters:
conf
- Logviewer conf for the serversmetricsRegistry
- The metrics registry
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
main
Main method to start the server.- Throws:
Exception
-