public class GridCircularBuffer<T> extends Object
| Constructor and Description |
|---|
GridCircularBuffer(int size) |
public Collection<T> items()
public void forEach(IgniteInClosure<T> c)
c - Closure to execute.@Nullable public T add(T t) throws InterruptedException
t - Item to add.null if nothing evicted.InterruptedException - If interrupted.@Nullable public T add(T t, @Nullable IgniteInClosureX<T> c) throws InterruptedException, IgniteCheckedException
t - Item to add.c - Closure to by applied on evicted object before eviction.null if nothing evicted.InterruptedException - If interrupted.IgniteCheckedException - If closure throws exception.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017