net.stamfest.rrd
Class RRDCachedClient
java.lang.Object
net.stamfest.rrd.RRDCachedClient
- All Implemented Interfaces:
- RRDUpdate
public class RRDCachedClient
- extends Object
- implements RRDUpdate
Because Java does not support UNIX Sockets, this can only be
used with rrdcached listening on a TCP socket.
- Author:
- peter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RRDCachedClient
public RRDCachedClient(String host,
int port)
throws UnknownHostException,
IOException
- Throws:
UnknownHostException
IOException
update
public CommandResult update(String filename,
String[] args)
throws Exception
- Specified by:
update in interface RRDUpdate
- Throws:
Exception
flush
public CommandResult flush(String filename)
throws Exception
- Throws:
Exception
flushall
public CommandResult flushall(String filename)
throws Exception
- Throws:
Exception
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2010-2013. All Rights Reserved.