com.northconcepts.datapipeline.throttle
Class Throttle
java.lang.Object
com.northconcepts.datapipeline.throttle.Throttle
public class Throttle
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Throttle
public Throttle(Meter meter,
int unitsPerSecond)
getMeter
public Meter getMeter()
getUnitsPerSecond
public int getUnitsPerSecond()
setUnitsPerSecond
public void setUnitsPerSecond(int unitsPerSecond)
getPeekUnitsPerSecond
public double getPeekUnitsPerSecond()
throttle
public void throttle()
throws InterruptedException
- Throws:
InterruptedException
addExceptionProperties
public DataException addExceptionProperties(DataException exception)
Copyright (c) 2007-2010 North Concepts Inc. All Rights Reserved.