public class FilePeerPersistence extends AbstractPeerPersistence
AbstractPeerPersistence.IOConsumer<T>| Modifier and Type | Field and Description |
|---|---|
private File |
persistenceFile |
logger, REMOTE_INSTANCE_URIS_PREFIX| Constructor and Description |
|---|
FilePeerPersistence(File persistenceFile) |
| Modifier and Type | Method and Description |
|---|---|
PeerStatusCache |
restore() |
void |
save(PeerStatusCache peerStatusCache) |
restorePeerStatuses, writeprivate final File persistenceFile
public FilePeerPersistence(File persistenceFile)
public void save(PeerStatusCache peerStatusCache) throws IOException
IOExceptionpublic PeerStatusCache restore() throws IOException
IOExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.