static final double PERCENTAGE_OFF=1.3; // how much can expected xmit_timeout and real timeout differ to still be okay ?
final Map<Long,Entry> msgs=new ConcurrentHashMap<Long,Entry>(); // keys=seqnos (Long), values=Entries
@DataProvider(name="provider")
Object[][] provider() {
final TimeScheduler timer=new DefaultTimeScheduler(10);
return new Object[][] {
{timer,
new AckSenderWindow(new MyRetransmitCommand(), new StaticInterval(xmit_timeouts), timer)}
};
}