E
- payload typeS
- logical source key typepublic class WatermarkTracker<E,S> extends Object
Modifier and Type | Method and Description |
---|---|
int |
drainTo(Collection<E> collection) |
boolean |
isSuspended() |
boolean |
isSuspended(S key) |
E |
poll(long timeout,
TimeUnit unit) |
void |
put(E e) |
public void put(E e) throws InterruptedException
InterruptedException
public E poll(long timeout, TimeUnit unit) throws InterruptedException
InterruptedException
public int drainTo(Collection<E> collection)
public boolean isSuspended(S key)
public boolean isSuspended()
Copyright © 2021. All rights reserved.