org.apache.solr.handler.admin
Class SystemInfoHandler

java.lang.Object
  extended by org.apache.solr.handler.RequestHandlerBase
      extended by org.apache.solr.handler.admin.SystemInfoHandler
All Implemented Interfaces:
SolrInfoMBean, SolrRequestHandler

public class SystemInfoHandler
extends RequestHandlerBase

This handler returns system info

Since:
solr 1.2

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean
SolrInfoMBean.Category
 
Field Summary
 
Fields inherited from class org.apache.solr.handler.RequestHandlerBase
appends, defaults, httpCaching, initArgs, invariants
 
Constructor Summary
SystemInfoHandler()
           
SystemInfoHandler(CoreContainer cc)
           
 
Method Summary
 String getDescription()
          Simple one or two line description
static SimpleOrderedMap<Object> getJvmInfo()
          Get JVM Info - including memory info
 String getSource()
          CVS Source, SVN Source, etc
static SimpleOrderedMap<Object> getSystemInfo()
          Get system info
 void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp)
           
 
Methods inherited from class org.apache.solr.handler.RequestHandlerBase
getCategory, getDocs, getInitArgs, getName, getStatistics, getVersion, handleRequest, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemInfoHandler

public SystemInfoHandler()

SystemInfoHandler

public SystemInfoHandler(CoreContainer cc)
Method Detail

handleRequestBody

public void handleRequestBody(SolrQueryRequest req,
                              SolrQueryResponse rsp)
                       throws Exception
Specified by:
handleRequestBody in class RequestHandlerBase
Throws:
Exception

getSystemInfo

public static SimpleOrderedMap<Object> getSystemInfo()
Get system info


getJvmInfo

public static SimpleOrderedMap<Object> getJvmInfo()
Get JVM Info - including memory info


getDescription

public String getDescription()
Description copied from interface: SolrInfoMBean
Simple one or two line description

Specified by:
getDescription in interface SolrInfoMBean
Specified by:
getDescription in class RequestHandlerBase

getSource

public String getSource()
Description copied from interface: SolrInfoMBean
CVS Source, SVN Source, etc

Specified by:
getSource in interface SolrInfoMBean
Specified by:
getSource in class RequestHandlerBase


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.