@Override public long getCooldownWakeup(Object token, ObjectContainer container, ClientContext context) { if (persistent) container.activate(segment, 1); return segment.getCooldownWakeup( ((SplitFileFetcherSegmentSendableRequestItem) token).blockNum, segment.getMaxRetries(container), container, context); }
@Override public long getCooldownWakeup(Object token, ObjectContainer container) { if (persistent) { container.activate(this, 1); container.activate(segment, 1); } long ret = segment.getCooldownWakeup(((MySendableRequestItem) token).x); return ret; }