streamcruncher.test.func.generic
Class ShipmentAggregatorTest
java.lang.Object
streamcruncher.test.func.OrderGenenerator
streamcruncher.test.func.generic.ShipmentAggregatorTest
public abstract class ShipmentAggregatorTest
- extends OrderGenenerator
This example demonstrates the Store-And-Forward mechanism that can be
simulated using Time Windows. It maintains 30 second Windows at "Country >
State > City" level. It holds shipment Orders, in their corresponding Windows
based on their Shipment destination for 30 seconds.
Or, if there are more than 5 Orders placed to that destination, then the
first X Orders are expelled from the Window even before they reach their 30
second limit. This is done to accumulate Orders for a while and then ship
them if they are in sufficient numbers, in order to avail any Bulk-shipment
offers.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShipmentAggregatorTest
public ShipmentAggregatorTest()
Copyright © 2006 - 2008 Ashwin Jayaprakash. All Rights Reserved.
(Docs generated on 3-November-2007 )