this.maxDelay = maxDelay;
this.currentOpenBundle = null;
}
public static final class Builder<E> {
private List<BundlingThreshold<E>> thresholds;
<BUG>private List<ExternalThreshold<E>> externalThresholds;</BUG>
private Duration maxDelay;
private Builder() {
thresholds = Lists.newArrayList();
<BUG>externalThresholds = Lists.newArrayList();</BUG>
}

this.maxDelay = maxDelay;
this.currentOpenBundle = null;
}
public static final class Builder<E> {
private List<BundlingThreshold<E>> thresholds;
private Duration maxDelay;
private Builder() {
thresholds = Lists.newArrayList();
}
