public class NonStopCacheKeySet
extends java.util.AbstractList
Modifier and Type | Class and Description |
---|---|
private static class |
NonStopCacheKeySet.NonStopCacheKeySetIterator
Iterator to iterate over the key set using non stop executors
|
Modifier and Type | Field and Description |
---|---|
private java.util.List |
keys |
private NonstopActiveDelegateHolder |
nonstopActiveDelegateHolder |
private NonstopStore |
nonstopStore |
Constructor and Description |
---|
NonStopCacheKeySet(NonstopActiveDelegateHolder nonstopActiveDelegateHolder,
java.util.List keys)
Non stop store to iterate over key set
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int index) |
java.util.Iterator |
iterator()
Iterator to iterate over the key set
May time out
|
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private final NonstopStore nonstopStore
private final NonstopActiveDelegateHolder nonstopActiveDelegateHolder
private final java.util.List keys
public NonStopCacheKeySet(NonstopActiveDelegateHolder nonstopActiveDelegateHolder, java.util.List keys)
nonstopActiveDelegateHolder
- list
- public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
iterator
in class java.util.AbstractList
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
size
in class java.util.AbstractCollection
public java.lang.Object get(int index)
get
in interface java.util.List
get
in class java.util.AbstractList