T - public class FileSystemStateStorageHelper<T extends Serializable> extends Object implements StateStorageHelper<T>
StateStorageHelper implementation which stores the state in the given filesystem path.| Constructor and Description |
|---|
FileSystemStateStorageHelper(org.apache.flink.core.fs.Path rootPath,
String prefix) |
FileSystemStateStorageHelper(String rootPath,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
StateHandle<T> |
store(T state)
Stores the given state and returns a state handle to it.
|
public FileSystemStateStorageHelper(String rootPath, String prefix) throws IOException
IOExceptionpublic FileSystemStateStorageHelper(org.apache.flink.core.fs.Path rootPath,
String prefix)
throws IOException
IOExceptionpublic StateHandle<T> store(T state) throws Exception
StateStorageHelperstore in interface StateStorageHelper<T extends Serializable>state - State to be storedExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.