@Deprecated public class MemcacheStats extends Object
Constructor and Description |
---|
MemcacheStats(String[] servers,
int interval)
Deprecated.
This constructor creates a memcache client with a pool of servers.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public MemcacheStats(String[] servers, int interval) throws IOException
servers
- - name of servers running memcachedinterval
- - interval in secs for stats collectionIOException
- Cannot connect to memcachedpublic TextTable getStats()
public static void main(String[] args) throws IOException
args
- Command line argumentIOException
- Cannot connect to memcached