Spring Data Couchbase

org.springframework.data.couchbase.monitor
Class ClusterInfo

java.lang.Object
  extended by org.springframework.data.couchbase.monitor.AbstractMonitor
      extended by org.springframework.data.couchbase.monitor.ClusterInfo

@ManagedResource(description="Cluster Information")
public class ClusterInfo
extends AbstractMonitor

Exposes basic cluster information.

Author:
Michael Nitschinger

Constructor Summary
ClusterInfo(com.couchbase.client.CouchbaseClient client)
           
 
Method Summary
 boolean getIsBalanced()
           
 int getMaxBuckets()
           
 String getRebalanceStatus()
           
 long getTotalDiskAssigned()
           
 long getTotalDiskFree()
           
 long getTotalDiskUsed()
           
 long getTotalRAMAssigned()
           
 long getTotalRAMUsed()
           
 
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

ClusterInfo

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

getTotalRAMAssigned

@ManagedMetric(description="Total RAM assigned")
public long getTotalRAMAssigned()

getTotalRAMUsed

@ManagedMetric(description="Total RAM used")
public long getTotalRAMUsed()

getTotalDiskAssigned

@ManagedMetric(description="Total Disk Space assigned")
public long getTotalDiskAssigned()

getTotalDiskUsed

@ManagedMetric(description="Total Disk Space used")
public long getTotalDiskUsed()

getTotalDiskFree

@ManagedMetric(description="Total Disk Space free")
public long getTotalDiskFree()

getIsBalanced

@ManagedAttribute(description="Cluster is Balanced")
public boolean getIsBalanced()

getRebalanceStatus

@ManagedAttribute(description="Rebalance Status")
public String getRebalanceStatus()

getMaxBuckets

@ManagedAttribute(description="Maximum Available Buckets")
public int getMaxBuckets()

Spring Data Couchbase

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