org.springframework.data.document.mongodb.monitor
Class ServerInfo

java.lang.Object
  extended by org.springframework.data.document.mongodb.monitor.AbstractMonitor
      extended by org.springframework.data.document.mongodb.monitor.ServerInfo

Expose basic server information via JMX

Author:
Mark Pollack

Field Summary
 
Fields inherited from class org.springframework.data.document.mongodb.monitor.AbstractMonitor
mongo
 
Constructor Summary
ServerInfo(Mongo mongo)
          
Method Summary
 java.lang.String getHostName()
          
Methods inherited from class org.springframework.data.document.mongodb.monitor.AbstractMonitor
getDb, getServerStatus, setPassword, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerInfo

public ServerInfo(Mongo mongo)
Method Detail

getHostName

Throws:
java.net.UnknownHostException

getUptimeEstimate


getVersion


getLocalTime


getUptime