Spring Data Couchbase

org.springframework.data.couchbase.monitor
Class ClientInfo

java.lang.Object
  extended by org.springframework.data.couchbase.monitor.AbstractMonitor
      extended by 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)
           
 
Method Summary
 String getHostNames()
           
 int getNumberOfActiveNodes()
           
 int getNumberOfInactiveNodes()
           
 int getNumberOfNodes()
           
 
Methods inherited from class org.springframework.data.couchbase.monitor.AbstractMonitor
getClient, getStats, getStats, getTemplate, randomAvailableHostname
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientInfo

public ClientInfo(com.couchbase.client.CouchbaseClient client)
Method Detail

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()

Spring Data Couchbase

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.