public interface SiteToSiteClientConfig extends Serializable
| Modifier and Type | Method and Description |
|---|---|
long |
getCacheExpiration(TimeUnit unit)
When the contents of a remote NiFi instance are fetched, that information is cached
so that many calls that are made in a short period of time do not overwhelm the remote
NiFi instance.
|
EventReporter |
getEventReporter() |
HttpProxy |
getHttpProxy()
Return Proxy for HTTP Transport Protocol.
|
long |
getIdleConnectionExpiration(TimeUnit timeUnit) |
String |
getKeystoreFilename() |
String |
getKeystorePassword() |
KeystoreType |
getKeystoreType() |
InetAddress |
getLocalAddress() |
PeerPersistence |
getPeerPersistence() |
File |
getPeerPersistenceFile() |
long |
getPenalizationPeriod(TimeUnit timeUnit) |
String |
getPortIdentifier() |
String |
getPortName() |
int |
getPreferredBatchCount()
When pulling data from a NiFi instance, the sender chooses how large a
Transaction is.
|
long |
getPreferredBatchDuration(TimeUnit timeUnit)
When pulling data from a NiFi instance, the sender chooses how large a
Transaction is.
|
long |
getPreferredBatchSize()
When pulling data from a NiFi instance, the sender chooses how large a
Transaction is.
|
SSLContext |
getSslContext() |
StateManager |
getStateManager() |
long |
getTimeout(TimeUnit timeUnit) |
SiteToSiteTransportProtocol |
getTransportProtocol() |
String |
getTruststoreFilename() |
String |
getTruststorePassword() |
KeystoreType |
getTruststoreType() |
String |
getUrl()
Deprecated.
This method only returns single URL string even if multiple URLs are set
for backward compatibility for implementations that does not expect multiple URLs.
getUrls() should be used instead then should support multiple URLs when making requests. |
Set<String> |
getUrls()
SiteToSite implementations should support multiple URLs when establishing a SiteToSite connection with a remote
NiFi instance to provide robust connectivity so that it can keep working as long as at least one of
the configured URLs is accessible.
|
boolean |
isUseCompression() |
@Deprecated String getUrl()
getUrls() should be used instead then should support multiple URLs when making requests.Set<String> getUrls()
long getTimeout(TimeUnit timeUnit)
timeUnit - unit over which to report the timeoutlong getIdleConnectionExpiration(TimeUnit timeUnit)
timeUnit - the unit for which to report the timelong getPenalizationPeriod(TimeUnit timeUnit)
timeUnit - unit over which to report the timeSSLContext getSslContext()
IllegalStateException - if an SSLContext is being constructed and an error occurs doing soString getKeystoreFilename()
null if none is configuredString getKeystorePassword()
null if none is configuredKeystoreType getKeystoreType()
null if none is configuredString getTruststoreFilename()
null if none is configuredString getTruststorePassword()
null if none is configuredKeystoreType getTruststoreType()
null if none is configuredFile getPeerPersistenceFile()
StateManager getStateManager()
PeerPersistence getPeerPersistence()
boolean isUseCompression()
SiteToSiteTransportProtocol getTransportProtocol()
String getPortName()
String getPortIdentifier()
long getPreferredBatchDuration(TimeUnit timeUnit)
timeUnit - unit of time over which to report the durationlong getPreferredBatchSize()
int getPreferredBatchCount()
DataPackets that we will request a
NiFi instance to send data to us in a Transactionlong getCacheExpiration(TimeUnit unit)
unit - the desired time unitEventReporter getEventReporter()
HttpProxy getHttpProxy()
InetAddress getLocalAddress()
null to bind to the anyLocal address.Copyright © 2023 Apache NiFi Project. All rights reserved.