| Package | Description |
|---|---|
| org.apache.nifi.remote.client |
| Modifier and Type | Method and Description |
|---|---|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.cacheExpiration(long expirationPeriod,
TimeUnit unit)
Specifies how long the contents of a remote NiFi instance should be cached before making
another web request to the remote instance.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.eventReporter(EventReporter eventReporter)
Provides an EventReporter that can be used by the client in order to
report any events that could be of interest when communicating with
the remote instance.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.fromConfig(SiteToSiteClientConfig config)
Populates the builder with values from the provided config
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.httpProxy(HttpProxy httpProxy)
Specify a HTTP proxy information to use with HTTP protocol of Site-to-Site communication.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.idleExpiration(long timeout,
TimeUnit unit)
Specifies the amount of time that a connection can remain idle in the
connection pool before it is "expired" and shutdown.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.keystoreFilename(String keystoreFilename)
Sets the filename to use for the Keystore in order to communicate securely
with the remote instance of NiFi
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.keystorePass(String keystorePass)
Sets the password to use for the Keystore in order to communicate securely
with the remote instance of NiFi
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.keystoreType(KeystoreType keystoreType)
Sets the type of the Keystore to use in order to communicate securely
with the remote instance of NiFi
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.localAddress(InetAddress localAddress)
Specifies the local address to use when communicating with the remote NiFi instance.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.nodePenalizationPeriod(long period,
TimeUnit unit)
If there is a problem communicating with a node (i.e., any node in
the remote NiFi cluster or the remote instance of NiFi if it is
standalone), specifies how long the client should wait before
attempting to communicate with that node again.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.peerPersistenceFile(File peerPersistenceFile)
Specifies a file that the client can write to in order to persist the
list of nodes in the remote cluster and recover the list of nodes
upon restart.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.portIdentifier(String portIdentifier)
Specifies the unique identifier of the port to communicate with.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.portName(String portName)
Specifies the name of the port to communicate with.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.requestBatchCount(int count)
When pulling data from a NiFi instance, the sender chooses how large
a Transaction is.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.requestBatchDuration(long value,
TimeUnit unit)
When pulling data from a NiFi instance, the sender chooses how large
a Transaction is.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.requestBatchSize(long bytes)
When pulling data from a NiFi instance, the sender chooses how large
a Transaction is.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.sslContext(SSLContext sslContext)
Specifies the SSL Context to use when communicating with the remote
NiFi instance(s).
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.stateManager(StateManager stateManager)
Specifies StateManager that the client can persist the
list of nodes in the remote cluster and recover the list of nodes
upon restart.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.timeout(long timeout,
TimeUnit unit)
Specifies the communications timeouts to use when interacting with
the remote instances.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.transportProtocol(SiteToSiteTransportProtocol transportProtocol)
Specifies the protocol to use for site to site data transport.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.truststoreFilename(String truststoreFilename)
Sets the filename to use for the Truststore in order to communicate securely
with the remote instance of NiFi
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.truststorePass(String truststorePass)
Sets the password to use for the Truststore in order to communicate securely
with the remote instance of NiFi
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.truststoreType(KeystoreType truststoreType)
Sets the password type of the Truststore to use in order to communicate securely
with the remote instance of NiFi
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.url(String url)
Specifies the URL of the remote NiFi instance.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.urls(Set<String> urls)
Specifies the URLs of the remote NiFi instance.
|
SiteToSiteClient.Builder |
SiteToSiteClient.Builder.useCompression(boolean compress)
Specifies whether or not data should be compressed before being
transferred to or from the remote instance.
|
| Constructor and Description |
|---|
StandardSiteToSiteClientConfig(SiteToSiteClient.Builder builder) |
Copyright © 2023 Apache NiFi Project. All rights reserved.