Package org.apache.nifi.c2.client
Class C2ClientConfig.Builder
java.lang.Object
org.apache.nifi.c2.client.C2ClientConfig.Builder
- Enclosing class:
C2ClientConfig
Builder for client configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate longprivate Stringprivate Stringprivate Stringprivate intprivate booleanprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate longprivate Stringprivate longprivate booleanprivate longprivate static final Stringprivate static final Stringprivate longprivate Stringprivate Stringprivate Stringprivate Stringprivate intprivate longprivate Stringprivate Stringprivate Stringprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentClass(String agentClass) agentIdentifier(String agentIdentifier) bootstrapAcknowledgeTimeout(long bootstrapAcknowledgeTimeout) build()c2AssetDirectory(String c2AssetDirectory) c2AssetRepositoryDirectory(String c2AssetRepositoryDirectory) c2FlowInfoProcessorBulletinLimit(int c2FlowInfoProcessorBulletinLimit) c2FlowInfoProcessorStatusEnabled(boolean c2FlowInfoProcessorStatusEnabled) c2RequestCompression(String c2RequestCompression) c2RestPathAcknowledge(String c2RestPathAcknowledge) c2RestPathBase(String c2RestPathBase) c2RestPathHeartbeat(String c2RestPathHeartbeat) callTimeout(long callTimeout) confDirectory(String confDirectory) connectTimeout(long connectTimeout) fullHeartbeat(boolean fullHeartbeat) heartbeatPeriod(long heartbeatPeriod) httpHeaders(String httpHeaders) keepAliveDuration(long keepAliveDuration) keyPassword(String keyPass) keystoreFilename(String keystoreFilename) keystorePassword(String keystorePass) keystoreType(String keystoreType) maxIdleConnections(int maxIdleConnections) readTimeout(long readTimeout) runtimeManifestIdentifier(String runtimeManifestIdentifier) runtimeType(String runtimeType) truststoreFilename(String truststoreFilename) truststorePassword(String truststorePass) truststoreType(String truststoreType)
-
Field Details
-
HTTP_HEADERS_SEPARATOR
- See Also:
-
HTTP_HEADER_KEY_VALUE_SEPARATOR
- See Also:
-
c2Url
-
c2AckUrl
-
c2RestPathBase
-
c2RestPathHeartbeat
-
c2RestPathAcknowledge
-
agentClass
-
agentIdentifier
-
fullHeartbeat
private boolean fullHeartbeat -
confDirectory
-
runtimeManifestIdentifier
-
runtimeType
-
heartbeatPeriod
private long heartbeatPeriod -
callTimeout
private long callTimeout -
keystoreFilename
-
keystorePass
-
keyPass
-
keystoreType
-
truststoreFilename
-
truststorePass
-
truststoreType
-
readTimeout
private long readTimeout -
connectTimeout
private long connectTimeout -
httpHeaders
-
maxIdleConnections
private int maxIdleConnections -
keepAliveDuration
private long keepAliveDuration -
c2RequestCompression
-
c2AssetDirectory
-
c2AssetRepositoryDirectory
-
bootstrapAcknowledgeTimeout
private long bootstrapAcknowledgeTimeout -
c2FlowInfoProcessorBulletinLimit
private int c2FlowInfoProcessorBulletinLimit -
c2FlowInfoProcessorStatusEnabled
private boolean c2FlowInfoProcessorStatusEnabled
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
c2Url
-
c2AckUrl
-
c2RestPathBase
-
c2RestPathHeartbeat
-
c2RestPathAcknowledge
-
agentClass
-
agentIdentifier
-
fullHeartbeat
-
confDirectory
-
runtimeManifestIdentifier
-
runtimeType
-
heartbeatPeriod
-
callTimeout
-
keystoreFilename
-
keystorePassword
-
keyPassword
-
keystoreType
-
truststoreFilename
-
truststorePassword
-
truststoreType
-
readTimeout
-
connectTimeout
-
httpHeaders
-
maxIdleConnections
-
keepAliveDuration
-
c2RequestCompression
-
c2AssetDirectory
-
c2AssetRepositoryDirectory
-
bootstrapAcknowledgeTimeout
-
c2FlowInfoProcessorBulletinLimit
public C2ClientConfig.Builder c2FlowInfoProcessorBulletinLimit(int c2FlowInfoProcessorBulletinLimit) -
c2FlowInfoProcessorStatusEnabled
public C2ClientConfig.Builder c2FlowInfoProcessorStatusEnabled(boolean c2FlowInfoProcessorStatusEnabled) -
build
-