org.apache.ws.commons.tcpmon.core.filter.throttle
Class ThrottleConfiguration
java.lang.Object
org.apache.ws.commons.tcpmon.core.filter.throttle.ThrottleConfiguration
- All Implemented Interfaces:
- StreamFilterFactory
public class ThrottleConfiguration
- extends Object
- implements StreamFilterFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrottleConfiguration
public ThrottleConfiguration(int delayBytes,
int delayTime)
- construct
- Parameters:
delayBytes
- bytes per delay; set to 0 for no delaydelayTime
- delay time per delay in milliseconds
getDelayBytes
public int getDelayBytes()
getDelayTime
public int getDelayTime()
newInstance
public StreamFilter newInstance()
- Specified by:
newInstance
in interface StreamFilterFactory
Copyright © The Apache Software Foundation. All Rights Reserved.