T - The type of the data that can be stored by this storage helper.public class FileSystemStateStorageHelper<T extends Serializable> extends Object implements RetrievableStateStorageHelper<T>
RetrievableStateStorageHelper implementation which stores the state in the given filesystem path.| Constructor and Description |
|---|
FileSystemStateStorageHelper(Path rootPath,
String prefix) |
FileSystemStateStorageHelper(String rootPath,
String prefix) |
public FileSystemStateStorageHelper(String rootPath, String prefix) throws IOException
IOExceptionpublic FileSystemStateStorageHelper(Path rootPath, String prefix) throws IOException
IOExceptionpublic RetrievableStateHandle<T> store(T state) throws Exception
RetrievableStateStorageHelperstore in interface RetrievableStateStorageHelper<T extends Serializable>state - State to be storedExceptionCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.