public class BatchingController extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchingController.Action |
| Modifier and Type | Field and Description |
|---|---|
static int |
RATE_PRECISION |
static int |
SIZE_OBSERVATION_WINDOW_TICKS |
| Constructor and Description |
|---|
BatchingController(int ratePerSecond) |
| Modifier and Type | Method and Description |
|---|---|
void |
countPacket() |
BatchingController.Action |
getAction() |
int |
getAllowedPackets() |
int |
getElapsedTicks() |
int |
getRatePerSecond() |
static void |
main(String[] arg) |
String |
toString() |
public static final int SIZE_OBSERVATION_WINDOW_TICKS
public static final int RATE_PRECISION
public int getRatePerSecond()
public int getElapsedTicks()
public int getAllowedPackets()
public void countPacket()
public BatchingController.Action getAction()
public static void main(String[] arg)
Copyright © 2015. All rights reserved.