net.stamfest.rrd
Class RRDCommandPool
java.lang.Object
net.stamfest.rrd.RRDCommandPool
- All Implemented Interfaces:
- RRDCommand
public class RRDCommandPool
- extends Object
- implements RRDCommand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RRDCommandPool
public RRDCommandPool(String basedir,
String cachedAddress)
RRDCommandPool
public RRDCommandPool(int poolsize,
String basedir,
String cachedAddress)
RRDCommandPool
public RRDCommandPool(int poolsize,
RRDCommandFactory factory)
getConnection
public RRDCommand getConnection()
throws Exception
- Throws:
Exception
done
public void done(RRDCommand cmd)
command
public CommandResult command(String[] cmd)
throws Exception
- Specified by:
command in interface RRDCommand
- Throws:
Exception
getMaxRequestsPerMember
public int getMaxRequestsPerMember()
setMaxRequestsPerMember
public void setMaxRequestsPerMember(int maxRequestsPerMember)
getPoolsize
public int getPoolsize()
finish
public void finish()
- Specified by:
finish in interface RRDCommand
getFactory
public RRDCommandFactory getFactory()
setFactory
public void setFactory(RRDCommandFactory factory)
Copyright © 2010-2013. All Rights Reserved.