public interface SampleableEvictableStore<A,E extends Evictable> extends EvictableStore<A,E>
Evictable
entries to evict.Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<A,E>> |
sample(int sampleCount)
The sample method is used to sample a number of entries (defined by the samples parameter) from
the internal data structure.
|
tryEvict
<C extends EvictionCandidate<A,E>> Iterable<C> sample(int sampleCount)
sampleCount
- Entry count to be sampledEvictionCandidate
to be evictedCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.