Package org.apache.flink.streaming.state

Examples of org.apache.flink.streaming.state.NullableCircularBuffer


    public StreamBatch(long batchSize, long slideSize) {
      this.batchSize = batchSize;
      this.slideSize = slideSize;
      this.granularity = (int) MathUtils.gcd(batchSize, slideSize);
      this.batchPerSlide = slideSize / granularity;
      this.circularBuffer = new NullableCircularBuffer((int) (batchSize / granularity));
      this.counter = 0;
      this.minibatchCounter = 0;
      this.currentValue = null;
      this.numberOfBatches = batchSize / granularity;
      this.changed = false;
View Full Code Here


    protected NullableCircularBuffer circularBuffer;

    public StreamBatch() {

      this.circularBuffer = new NullableCircularBuffer((int) (batchSize / granularity));
      this.counter = 0;
      this.minibatchCounter = 0;
      this.changed = false;
    }
View Full Code Here

TOP

Related Classes of org.apache.flink.streaming.state.NullableCircularBuffer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.