public class KeepAllEvictionPolicy<T> extends Object implements EvictionPolicy<T>
| Constructor and Description |
|---|
KeepAllEvictionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
int |
notifyEviction(T datapoint,
boolean triggered,
int bufferSize)
Proves if and how many elements should be deleted from the element
buffer.
|
public int notifyEviction(T datapoint, boolean triggered, int bufferSize)
EvictionPolicynotifyEviction in interface EvictionPolicy<T>datapoint - data point the data point which arrivedtriggered - Information whether the UDF was triggered or notbufferSize - The current size of the element buffer at the operatorCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.