K - public class SimpleScheduledRefreshKeyGenerator<K extends Serializable> extends Object implements ScheduledRefreshKeyGenerator<K>
ScheduledRefreshKeyGenerator interface. It merely returns an Iterable
over all the keys in the cache.| Constructor and Description |
|---|
SimpleScheduledRefreshKeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<K> |
generateKeys(Ehcache cache)
Return an
Iterable of all the keys to be refreshed. |
public Iterable<K> generateKeys(Ehcache cache)
ScheduledRefreshKeyGeneratorIterable of all the keys to be refreshed.
Note that the cache will almost certainly be modified while this Iterable is
being traversed if the cache is of any size at all.generateKeys in interface ScheduledRefreshKeyGenerator<K extends Serializable>Copyright © 2003–2024 Terracotta, Inc.. All rights reserved.