| java.lang.Object org.apache.solr.handler.RequestHandlerBase org.apache.solr.handler.admin.SystemInfoHandler
SystemInfoHandler | public class SystemInfoHandler extends RequestHandlerBase (Code) | | 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.
author: ryan version: $Id: SystemInfoHandler.java 533815 2007-04-30 17:57:52Z ryan $ since: solr 1.2 |
addGetterIfAvaliable | static void addGetterIfAvaliable(Object obj, String getter, NamedList<Object> info)(Code) | | 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...
|
|
|