public interface FlowSnapshotClient
| Modifier and Type | Method and Description |
|---|---|
VersionedFlowSnapshot |
create(VersionedFlowSnapshot snapshot)
Creates a new snapshot/version for the given flow.
|
VersionedFlowSnapshot |
get(String flowId,
int version)
Gets the snapshot for the given flow and version.
|
VersionedFlowSnapshot |
get(String bucketId,
String flowId,
int version)
Gets the snapshot for the given bucket, flow, and version.
|
VersionedFlowSnapshot |
getLatest(String flowId)
Gets the latest snapshot for the given flow.
|
VersionedFlowSnapshot |
getLatest(String bucketId,
String flowId)
Gets the latest snapshot for the given flow.
|
VersionedFlowSnapshotMetadata |
getLatestMetadata(String flowId)
Gets the latest snapshot metadata for the given flow.
|
VersionedFlowSnapshotMetadata |
getLatestMetadata(String bucketId,
String flowId)
Gets the latest snapshot metadata for the given flow.
|
List<VersionedFlowSnapshotMetadata> |
getSnapshotMetadata(String flowId)
Gets a list of the metadata for all snapshots of a given flow.
|
List<VersionedFlowSnapshotMetadata> |
getSnapshotMetadata(String bucketId,
String flowId)
Gets a list of the metadata for all snapshots of a given flow.
|
VersionedFlowSnapshot create(VersionedFlowSnapshot snapshot) throws NiFiRegistryException, IOException
snapshot - the new snapshotNiFiRegistryException - if an error is encountered other than IOExceptionIOException - if an I/O error is encounteredVersionedFlowSnapshot get(String bucketId, String flowId, int version) throws NiFiRegistryException, IOException
bucketId - the bucket idflowId - the flow idversion - the versionNiFiRegistryException - if an error is encountered other than IOExceptionIOException - if an I/O error is encounteredVersionedFlowSnapshot get(String flowId, int version) throws NiFiRegistryException, IOException
flowId - the flow idversion - the versionNiFiRegistryException - if an error is encountered other than IOExceptionIOException - if an I/O error is encounteredVersionedFlowSnapshot getLatest(String bucketId, String flowId) throws NiFiRegistryException, IOException
bucketId - the bucket idflowId - the flow idNiFiRegistryException - if an error is encountered other than IOExceptionIOException - if an I/O error is encounteredVersionedFlowSnapshot getLatest(String flowId) throws NiFiRegistryException, IOException
flowId - the flow idNiFiRegistryException - if an error is encountered other than IOExceptionIOException - if an I/O error is encounteredVersionedFlowSnapshotMetadata getLatestMetadata(String bucketId, String flowId) throws NiFiRegistryException, IOException
bucketId - the bucket idflowId - the flow idNiFiRegistryException - if an error is encountered other than IOExceptionIOException - if an I/O error is encounteredVersionedFlowSnapshotMetadata getLatestMetadata(String flowId) throws NiFiRegistryException, IOException
flowId - the flow idNiFiRegistryException - if an error is encountered other than IOExceptionIOException - if an I/O error is encounteredList<VersionedFlowSnapshotMetadata> getSnapshotMetadata(String bucketId, String flowId) throws NiFiRegistryException, IOException
bucketId - the bucket idflowId - the flow idNiFiRegistryException - if an error is encountered other than IOExceptionIOException - if an I/O error is encounteredList<VersionedFlowSnapshotMetadata> getSnapshotMetadata(String flowId) throws NiFiRegistryException, IOException
flowId - the flow idNiFiRegistryException - if an error is encountered other than IOExceptionIOException - if an I/O error is encounteredCopyright © 2018 Apache NiFi Project. All rights reserved.