synchronized void increaseLength(long delta) {
        Preconditions.checkState(!this.sealed, "Cannot increase the length of a sealed SegmentChunk.");
        Preconditions.checkArgument(delta >= 0, "Cannot decrease the length of a SegmentChunk.");
        this.length += delta;
    }
synchronized void increaseLength ( long delta ) { Preconditions . checkState ( ! this . sealed , "Cannot increase the length of a sealed SegmentChunk." ) ; Preconditions . checkArgument ( delta >= 0 , "Cannot decrease the length of a SegmentChunk." ) ; this . length += delta ; }
Increases the length of the SegmentChunk by the given delta.
@param delta The value to increase by.