org.springframework.data.couchbase.monitor
Class ClientInfo
java.lang.Object
org.springframework.data.couchbase.monitor.AbstractMonitor
org.springframework.data.couchbase.monitor.ClientInfo
@ManagedResource(description="Client Information")
public class ClientInfo
- extends AbstractMonitor
Exposes basic client information.
- Author:
- Michael Nitschinger
|
Constructor Summary |
ClientInfo(com.couchbase.client.CouchbaseClient client)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientInfo
public ClientInfo(com.couchbase.client.CouchbaseClient client)
getHostNames
@ManagedAttribute(description="Hostnames of connected nodes")
public String getHostNames()
getNumberOfNodes
@ManagedAttribute(description="Number of connected nodes")
public int getNumberOfNodes()
getNumberOfActiveNodes
@ManagedAttribute(description="Number of connected active nodes")
public int getNumberOfActiveNodes()
getNumberOfInactiveNodes
@ManagedAttribute(description="Number of connected inactive nodes")
public int getNumberOfInactiveNodes()
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.