public class GemFireTradeBurstFeeder extends GemFireTradeLoader
| Modifier and Type | Field and Description |
|---|---|
protected int |
burst_sleep_interval |
protected int |
burst_time |
CURRENT_ROW, END_ROW, fh, file_name, logger, PURE_DELAY, RATE_PER_SECOND, START_ROW, start_time, START_TRADE_ID| Constructor and Description |
|---|
GemFireTradeBurstFeeder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
easyPumpTrades()
this method uses the various arguments to the main method to pump trades
through the vendorPublishingAPI
trades are read from a file and then row by row fed through the vendorPublishingAPI |
void |
initTestParams(Properties p) |
static void |
main(String[] args) |
protected void |
vendorPublishingAPI(String xml)
to be implemented by vendor:
This method accepts the xml row containing a single trade as a String and does what it needs to do to cache that trade in the vendor's cache |
init, initLog, start, vendorInit, waitForNotificationassignTradeId, bracketLogprotected int burst_sleep_interval
protected int burst_time
public static void main(String[] args)
public void initTestParams(Properties p)
initTestParams in class GemFireTradeLoaderprotected void easyPumpTrades()
easyPumpTrades in class TradeLoaderprotected void vendorPublishingAPI(String xml) throws Throwable
TradeLoadervendorPublishingAPI in class GemFireTradeLoaderThrowableCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.