public abstract class AbstractMonitor extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMonitor(com.couchbase.client.CouchbaseClient client) |
| Modifier and Type | Method and Description |
|---|---|
com.couchbase.client.CouchbaseClient |
getClient() |
protected Map<SocketAddress,Map<String,String>> |
getStats()
Fetches stats for all nodes.
|
protected Map<String,String> |
getStats(SocketAddress node)
Returns stats for an individual node.
|
protected RestTemplate |
getTemplate() |
protected String |
randomAvailableHostname() |
protected AbstractMonitor(com.couchbase.client.CouchbaseClient client)
public com.couchbase.client.CouchbaseClient getClient()
protected RestTemplate getTemplate()
protected String randomAvailableHostname()
protected Map<SocketAddress,Map<String,String>> getStats()
protected Map<String,String> getStats(SocketAddress node)
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.