Package org.apache.nifi.remote.protocol
Enum Class HandshakeProperty
- All Implemented Interfaces:
Serializable
,Comparable<HandshakeProperty>
,Constable
Enumeration of Properties that can be used for the Site-to-Site Socket
Protocol.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe preferred number of FlowFiles that the server should send to the client when pulling data.The preferred amount of time that the server should send data to the client when pulling data.The preferred number of bytes that the server should send to the client when pulling data.Boolean value indicating whether or not the contents of a FlowFile should be GZipped when transferred.The unique identifier of the port to communicate withIndicates the number of milliseconds after the request was made that the client will wait for a response. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandshakeProperty
Returns the enum constant of this class with the specified name.static HandshakeProperty[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GZIP
Boolean value indicating whether or not the contents of a FlowFile should be GZipped when transferred. -
PORT_IDENTIFIER
The unique identifier of the port to communicate with -
REQUEST_EXPIRATION_MILLIS
Indicates the number of milliseconds after the request was made that the client will wait for a response. If no response has been received by the time this value expires, the server can move on without attempting to service the request because the client will have already disconnected. -
BATCH_COUNT
The preferred number of FlowFiles that the server should send to the client when pulling data. This property was introduced in version 5 of the protocol. -
BATCH_SIZE
The preferred number of bytes that the server should send to the client when pulling data. This property was introduced in version 5 of the protocol. -
BATCH_DURATION
The preferred amount of time that the server should send data to the client when pulling data. This property was introduced in version 5 of the protocol. Value is in milliseconds.
-
-
Constructor Details
-
HandshakeProperty
private HandshakeProperty()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-