public abstract class BaseWindowConfig extends Object implements WindowConfig
WindowConfig.Type
Modifier and Type | Field and Description |
---|---|
protected int |
slideLength |
protected int |
windowLength |
Modifier | Constructor and Description |
---|---|
protected |
BaseWindowConfig(int windowLength,
int slideLength) |
Modifier and Type | Method and Description |
---|---|
int |
getSlidingLength()
Returns the sliding length of the moving window.
|
int |
getWindowLength()
Returns the length of the window.
|
void |
validate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWindowStrategy
protected final int windowLength
protected final int slideLength
public int getWindowLength()
WindowConfig
Returns the length of the window.
getWindowLength
in interface WindowConfig
public int getSlidingLength()
WindowConfig
Returns the sliding length of the moving window.
getSlidingLength
in interface WindowConfig
public void validate()
validate
in interface WindowConfig
Copyright © 2022 The Apache Software Foundation. All rights reserved.