Package org.apache.storm.daemon.logviewer

# 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 final String`
  `STATIC_RESOURCE_DIRECTORY_PATH`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LogviewerServer(Map<String,Object> conf, StormMetricsRegistry metricsRegistry)`
  Constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `static void`
  `main(String[] args)`
  Main method to start the server.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### STATIC_RESOURCE_DIRECTORY_PATH

    public static final String STATIC_RESOURCE_DIRECTORY_PATH

- ## Constructor Details

  - ### LogviewerServer

    public LogviewerServer(Map<String,Object> conf, StormMetricsRegistry metricsRegistry)
    Constructor.
    Parameters:
      `conf` - Logviewer conf for the servers
      `metricsRegistry` - The metrics registry

- ## Method Details

  - ### close

    public void close()
    Specified by:
      `close` in interface `AutoCloseable`

  - ### main

    public static void main(String[] args) throws Exception
    Main method to start the server.
    Throws:
      `Exception`