this.routingMissDistanceBulk = new TimeDecayingRunningAverage(0.0, 180000, 0.0, 1.0, node);
this.routingMissDistanceRT = new TimeDecayingRunningAverage(0.0, 180000, 0.0, 1.0, node);
this.backedOffPercent = new TimeDecayingRunningAverage(0.0, 180000, 0.0, 1.0, node);
preemptiveRejectReasons = new StringCounter();
localPreemptiveRejectReasons = new StringCounter();
pInstantRejectIncomingOverall = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 1000, null);
pInstantRejectIncomingCHKRequestRT = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 1000, null);
pInstantRejectIncomingSSKRequestRT = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 1000, null);
pInstantRejectIncomingCHKInsertRT = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 1000, null);
pInstantRejectIncomingSSKInsertRT = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 1000, null);
pInstantRejectIncomingCHKRequestBulk = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 1000, null);
pInstantRejectIncomingSSKRequestBulk = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 1000, null);
pInstantRejectIncomingCHKInsertBulk = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 1000, null);
pInstantRejectIncomingSSKInsertBulk = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 1000, null);
REJECT_STATS_AVERAGERS = new RunningAverage[] {
pInstantRejectIncomingCHKRequestBulk,
pInstantRejectIncomingSSKRequestBulk,
pInstantRejectIncomingCHKInsertBulk,
pInstantRejectIncomingSSKInsertBulk
};
noisyRejectStats = new byte[4];
ThreadGroup tg = Thread.currentThread().getThreadGroup();
while(tg.getParent() != null) tg = tg.getParent();
this.rootThreadGroup = tg;
throttledPacketSendAverage =
new BootstrappingDecayingRunningAverage(0, 0, Long.MAX_VALUE, 100, null);
throttledPacketSendAverageRT =
new BootstrappingDecayingRunningAverage(0, 0, Long.MAX_VALUE, 100, null);
throttledPacketSendAverageBulk =
new BootstrappingDecayingRunningAverage(0, 0, Long.MAX_VALUE, 100, null);
nodePinger = new NodePinger(node);
previous_input_stat = 0;
previous_output_stat = 0;
previous_io_stat_time = 1;