THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
public final class SlidingWindows { /** * Return a window definition with the given window size and given window grace period * Records that come after set grace period will be ignored * * @param size, The size of the window * @param grace, The grace period to admit out-of-order events to a window * @return a new window definition * @throws IllegalArgumentException if the specified window size or grace is zero or negative or can't be represented as {@code long milliseconds} */ public static SlidingWindows ofwithSizeAndGrace(final Duration size, final Duration grace) throws IllegalArgumentException{} |
...