net.sf.ehcache.constructs.nonstop.concurrency
Class NonStopCacheKeySet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
net.sf.ehcache.constructs.nonstop.concurrency.NonStopCacheKeySet
- All Implemented Interfaces:
- Iterable, Collection, List
public class NonStopCacheKeySet
- extends AbstractList
implementation which does not block threads when the cluster goes down
- Author:
- rsingh
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
NonStopCacheKeySet
public NonStopCacheKeySet(NonstopActiveDelegateHolder nonstopActiveDelegateHolder,
List keys)
- Non stop store to iterate over key set
- Parameters:
nonstopActiveDelegateHolder
- list
-
iterator
public Iterator iterator()
- Iterator to iterate over the key set
May time out
- Specified by:
iterator
in interface Iterable
- Specified by:
iterator
in interface Collection
- Specified by:
iterator
in interface List
- Overrides:
iterator
in class AbstractList
size
public int size()
-
- Specified by:
size
in interface Collection
- Specified by:
size
in interface List
- Specified by:
size
in class AbstractCollection
get
public Object get(int index)
-
- Specified by:
get
in interface List
- Specified by:
get
in class AbstractList
Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.