|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.faban.harness.tools.MemcacheStats
@Deprecated public class MemcacheStats
MemcacheStats.java This program implements a tool to collect memcache stats from a list of servers. The stats are collected and displayed at the specified interval. Most of the stats are on a per. second basis allowing easy tabulation and comparison with other tools.
| Constructor Summary | |
|---|---|
MemcacheStats(String[] servers,
int interval)
Deprecated. This constructor creates a memcache client with a pool of servers. |
|
| Method Summary | |
|---|---|
TextTable |
getStats()
Deprecated. This method is used for dynamic memcache stats gathering. |
static void |
main(String[] args)
Deprecated. This main method is used to gather dynamic statistics on memcache server instances. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemcacheStats(String[] servers,
int interval)
throws IOException
servers - - name of servers running memcachedinterval - - interval in secs for stats collection
IOException - Cannot connect to memcached| Method Detail |
|---|
public TextTable getStats()
public static void main(String[] args)
throws IOException
args - Command line argument
IOException - Cannot connect to memcached
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||