DATA - the type of the data handled by this policypublic interface EvictionPolicy<DATA> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
notifyEviction(DATA datapoint,
boolean triggered,
int bufferSize)
Proves if and how many elements should be deleted from the element
buffer.
|
int notifyEviction(DATA datapoint, boolean triggered, int bufferSize)
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.