Package org.apache.nifi.toolkit.client
Interface ConnectionClient
- All Known Implementing Classes:
JerseyConnectionClient
public interface ConnectionClient
-
Method Summary
Modifier and TypeMethodDescriptionvoidIndicates that mutable requests should indicate that the client has acknowledged that the node is disconnected.createConnection(String parentGroupId, ConnectionEntity connectionEntity) deleteConnection(String id, String clientId, long verison) deleteConnection(ConnectionEntity connectionEntity) deleteDropRequest(String connectionId, String dropRequestId) deleteListingRequest(String connectionId, String listingRequestId) emptyQueue(String connectionId) getConnection(String id) getDropRequest(String connectionId, String dropRequestId) getFlowFile(String connectionId, String flowFileUuid) getFlowFile(String connectionId, String flowFileUuid, String nodeId) getFlowFileContent(String connectionId, String flowFileUuid, String nodeId) getListingRequest(String connectionId, String listingRequestId) updateConnection(ConnectionEntity connectionEntity)
-
Method Details
-
getConnection
- Throws:
NiFiClientExceptionIOException
-
deleteConnection
ConnectionEntity deleteConnection(ConnectionEntity connectionEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteConnection
ConnectionEntity deleteConnection(String id, String clientId, long verison) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
createConnection
ConnectionEntity createConnection(String parentGroupId, ConnectionEntity connectionEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
updateConnection
ConnectionEntity updateConnection(ConnectionEntity connectionEntity) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
emptyQueue
- Throws:
NiFiClientExceptionIOException
-
getDropRequest
DropRequestEntity getDropRequest(String connectionId, String dropRequestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteDropRequest
DropRequestEntity deleteDropRequest(String connectionId, String dropRequestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
listQueue
- Throws:
NiFiClientExceptionIOException
-
getListingRequest
ListingRequestEntity getListingRequest(String connectionId, String listingRequestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
deleteListingRequest
ListingRequestEntity deleteListingRequest(String connectionId, String listingRequestId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getFlowFile
FlowFileEntity getFlowFile(String connectionId, String flowFileUuid) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getFlowFile
FlowFileEntity getFlowFile(String connectionId, String flowFileUuid, String nodeId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
getFlowFileContent
InputStream getFlowFileContent(String connectionId, String flowFileUuid, String nodeId) throws NiFiClientException, IOException - Throws:
NiFiClientExceptionIOException
-
acknowledgeDisconnectedNode
void acknowledgeDisconnectedNode()Indicates that mutable requests should indicate that the client has acknowledged that the node is disconnected.
-