Save This Page
Home » apache-solr-1.3.0 » org.apache.solr » handler » admin » [javadoc | source]
org.apache.solr.handler.admin
public class: SystemInfoHandler [javadoc | source]
java.lang.Object
   org.apache.solr.handler.RequestHandlerBase
      org.apache.solr.handler.admin.SystemInfoHandler

All Implemented Interfaces:
    SolrInfoMBean, SolrRequestHandler

This handler returns system info NOTE: the response format is still likely to change. It should be designed so that it works nicely with an XSLT transformation. Until we have a nice XSLT front end for /admin, the format is still open to change.
Fields inherited from org.apache.solr.handler.RequestHandlerBase:
numRequests,  numErrors,  defaults,  appends,  invariants
Method from org.apache.solr.handler.admin.SystemInfoHandler Summary:
addGetterIfAvaliable,   getDescription,   getSource,   getSourceId,   getVersion,   handleRequestBody
Methods from org.apache.solr.handler.RequestHandlerBase:
getCategory,   getDescription,   getDocs,   getName,   getSource,   getSourceId,   getStatistics,   getVersion,   handleRequest,   handleRequestBody,   init
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.solr.handler.admin.SystemInfoHandler Detail:
 static  void addGetterIfAvaliable(Object obj,
    String getter,
    NamedList info) 
    Try to run a getter function. This is usefull because java 1.6 has a few extra usefull functions on the OperatingSystemMXBean If you are running a sun jvm, there are nice functions in: UnixOperatingSystemMXBean and com.sun.management.OperatingSystemMXBean it is package protected so it can be tested...
 public String getDescription() 
 public String getSource() 
 public String getSourceId() 
 public String getVersion() 
 public  void handleRequestBody(SolrQueryRequest req,
    SolrQueryResponse rsp) throws Exception