|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.duracloud.client.ContentStoreImpl
org.duracloud.client.impl.CachingContentStoreImpl
public class CachingContentStoreImpl
This class retains the results of the initial call to: getSpaces()
and returns this cached value on subsequent calls.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.duracloud.client.ContentStore |
---|
ContentStore.AccessType |
Field Summary |
---|
Fields inherited from interface org.duracloud.client.ContentStore |
---|
CONTENT_CHECKSUM, CONTENT_MIMETYPE, CONTENT_MODIFIED, CONTENT_SIZE, SPACE_ACCESS, SPACE_COUNT, SPACE_CREATED, SPACE_SIZE |
Constructor Summary | |
---|---|
CachingContentStoreImpl(java.lang.String baseURL,
org.duracloud.storage.domain.StorageProviderType type,
java.lang.String storeId,
org.duracloud.common.web.RestHttpHelper restHelper)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getSpaces()
Provides a listing of all spaces IDs. |
Methods inherited from class org.duracloud.client.ContentStoreImpl |
---|
addContent, copyContent, copyContent, createSpace, deleteContent, deleteSpace, getBaseURL, getContent, getContentProperties, getSpace, getSpaceAccess, getSpaceACLs, getSpaceContents, getSpaceContents, getSpaceProperties, getStorageProviderType, getStoreId, getSupportedTasks, moveContent, moveContent, performTask, setContentProperties, setSpaceAccess, setSpaceACLs, setSpaceProperties, validateContentId, validateSpaceId, validateStoreId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingContentStoreImpl(java.lang.String baseURL, org.duracloud.storage.domain.StorageProviderType type, java.lang.String storeId, org.duracloud.common.web.RestHttpHelper restHelper)
Method Detail |
---|
public java.util.List<java.lang.String> getSpaces() throws ContentStoreException
ContentStoreImpl
getSpaces
in interface ContentStore
getSpaces
in class ContentStoreImpl
ContentStoreException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |