public abstract class StoragePool extends AbstractPool<java.lang.Class,Storage,RepositoryException>
| Constructor and Description |
|---|
StoragePool() |
| Modifier and Type | Method and Description |
|---|---|
protected Storage |
create(java.lang.Class type)
Return a new value instance.
|
protected abstract <S extends Storable> |
createStorage(java.lang.Class<S> type) |
<S extends Storable> |
getStorage(java.lang.Class<S> type)
Returns a Storage instance for the given Storable type, which is lazily
created and pooled.
|
clear, get, remove, valuespublic <S extends Storable> Storage<S> getStorage(java.lang.Class<S> type) throws MalformedTypeException, SupportException, RepositoryException
protected final Storage create(java.lang.Class type) throws SupportException, RepositoryException
AbstractPoolcreate in class AbstractPool<java.lang.Class,Storage,RepositoryException>SupportExceptionRepositoryExceptionprotected abstract <S extends Storable> Storage<S> createStorage(java.lang.Class<S> type) throws SupportException, RepositoryException
SupportExceptionRepositoryExceptionCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.