Package org.duracloud.s3storage
Class StringDataStore
java.lang.Object
org.duracloud.s3storage.StringDataStore
Manages string data in a persistent store. When data is stored, a token
is returned which can be used later to retrieve the data.
Data is expected to be removed from the store based on an expiration schedule
- Author:
- bbranan Date: Aug 10, 2018
-
Constructor Summary
ConstructorsConstructorDescriptionStringDataStore(String hiddenSpaceName, S3StorageProvider s3StorageProvider) -
Method Summary
-
Constructor Details
-
StringDataStore
-
-
Method Details
-
storeData
Stores string data and returns a token by which that data can be retrieved- Parameters:
cookieData- serialized cookie data- Returns:
- alphanumeric token value by which data can be retrieved
-
retrieveData
Retrieves string data given its token. If no data is associated with the provided token, returns null- Parameters:
token-- Returns:
-