Modifier and Type | Field and Description |
---|---|
private Collection |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
private synchronized Collection | |
protected Iterator | createIterator()
Implements abstract org. |
protected abstract Collection | Returns: Collection.Template method for subclasses to return a Collection of Resources. |
protected int | getSize()
Implements abstract org. |
coll | back to summary |
---|---|
private Collection<Resource> coll |
BaseResourceCollectionWrapper | back to summary |
---|---|
public BaseResourceCollectionWrapper() |
cacheCollection | back to summary |
---|---|
private synchronized Collection |
createIterator | back to summary |
---|---|
protected Iterator Implements abstract org. Doc from org. Do create an iterator on the resource collection. The creation of the iterator is allowed to not be thread safe whereas the iterator itself should. The returned iterator will be wrapped into the FailFast one. |
getCollection | back to summary |
---|---|
protected abstract Collection Template method for subclasses to return a Collection of Resources.
|
getSize | back to summary |
---|---|
protected int getSize() Implements abstract org. Doc from org. Do compute the size of the resource collection. The implementation of this function is allowed to be not thread safe.
|