public static final class ALBTCPProxyProfile.Builder
extends java.lang.Object
ALBTCPProxyProfile.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBTCPProxyProfile. |
| Modifier and Type | Method and Description |
|---|---|
ALBTCPProxyProfile |
build() |
ALBTCPProxyProfile.Builder |
setAggressiveCongestionAvoidance(java.lang.Boolean aggressiveCongestionAvoidance)
Controls the our congestion window to send, normally it's 1 mss, If this option
is turned on, we use 10 msses.
|
ALBTCPProxyProfile.Builder |
setAutomatic(java.lang.Boolean automatic)
Dynamically pick the relevant parameters for connections.
|
ALBTCPProxyProfile.Builder |
setAutoWindowGrowth(java.lang.Boolean autoWindowGrowth)
Controls whether the windows are static or supports autogrowth.
|
ALBTCPProxyProfile.Builder |
setCcAlgo(java.lang.String ccAlgo)
Possible values are:
ALBTCPProxyProfile.CC_ALGO_NEW_RENO
ALBTCPProxyProfile.CC_ALGO_CUBIC
ALBTCPProxyProfile.CC_ALGO_HTCP
Controls the congestion control algorithm we use. |
ALBTCPProxyProfile.Builder |
setCongestionRecoveryScalingFactor(java.lang.Long congestionRecoveryScalingFactor)
Congestion window scaling factor after recovery.
|
ALBTCPProxyProfile.Builder |
setIdleConnectionTimeout(java.lang.Long idleConnectionTimeout)
The duration for keepalive probes or session idle timeout.
|
ALBTCPProxyProfile.Builder |
setIdleConnectionType(java.lang.String idleConnectionType)
Possible values are:
ALBTCPProxyProfile.IDLE_CONNECTION_TYPE_KEEP_ALIVE
ALBTCPProxyProfile.IDLE_CONNECTION_TYPE_CLOSE_IDLE
Controls the behavior of idle connections. |
ALBTCPProxyProfile.Builder |
setIgnoreTimeWait(java.lang.Boolean ignoreTimeWait)
A new SYN is accepted from the same 4-tuple even if there is already a
connection in TIME_WAIT state.
|
ALBTCPProxyProfile.Builder |
setIpDscp(java.lang.Long ipDscp)
Controls the value of the Differentiated Services Code Point field inserted in
the IP header.
|
ALBTCPProxyProfile.Builder |
setKeepaliveInHalfcloseState(java.lang.Boolean keepaliveInHalfcloseState)
Controls whether to keep the connection alive with keepalive messages in the TCP
half close state.
|
ALBTCPProxyProfile.Builder |
setMaxRetransmissions(java.lang.Long maxRetransmissions)
The number of attempts at retransmit before closing the connection.
|
ALBTCPProxyProfile.Builder |
setMaxSegmentSize(java.lang.Long maxSegmentSize)
Maximum TCP segment size.
|
ALBTCPProxyProfile.Builder |
setMaxSynRetransmissions(java.lang.Long maxSynRetransmissions)
The maximum number of attempts at retransmitting a SYN packet before giving up.
|
ALBTCPProxyProfile.Builder |
setMinRexmtTimeout(java.lang.Long minRexmtTimeout)
The minimum wait time (in millisec) to retransmit packet.
|
ALBTCPProxyProfile.Builder |
setNaglesAlgorithm(java.lang.Boolean naglesAlgorithm)
Consolidates small data packets to send clients fewer but larger packets.
|
ALBTCPProxyProfile.Builder |
setReassemblyQueueSize(java.lang.Long reassemblyQueueSize)
Maximum number of TCP segments that can be queued for reassembly.
|
ALBTCPProxyProfile.Builder |
setReceiveWindow(java.lang.Long receiveWindow)
Size of the receive window.
|
ALBTCPProxyProfile.Builder |
setReorderThreshold(java.lang.Long reorderThreshold)
Controls the number of duplicate acks required to trigger retransmission.
|
ALBTCPProxyProfile.Builder |
setSlowStartScalingFactor(java.lang.Long slowStartScalingFactor)
Congestion window scaling factor during slow start.
|
ALBTCPProxyProfile.Builder |
setTimeWaitDelay(java.lang.Long timeWaitDelay)
The time (in millisec) to wait before closing a connection in the TIME_WAIT
state.
|
ALBTCPProxyProfile.Builder |
setUseInterfaceMtu(java.lang.Boolean useInterfaceMtu)
Use the interface MTU to calculate the TCP max segment size.
|
public Builder()
ALBTCPProxyProfile.public ALBTCPProxyProfile.Builder setAggressiveCongestionAvoidance(java.lang.Boolean aggressiveCongestionAvoidance)
aggressiveCongestionAvoidance - New value for the property.public ALBTCPProxyProfile.Builder setAutoWindowGrowth(java.lang.Boolean autoWindowGrowth)
autoWindowGrowth - New value for the property.public ALBTCPProxyProfile.Builder setAutomatic(java.lang.Boolean automatic)
automatic - New value for the property.public ALBTCPProxyProfile.Builder setCcAlgo(java.lang.String ccAlgo)
ccAlgo - New value for the property.public ALBTCPProxyProfile.Builder setCongestionRecoveryScalingFactor(java.lang.Long congestionRecoveryScalingFactor)
congestionRecoveryScalingFactor - New value for the property.public ALBTCPProxyProfile.Builder setIdleConnectionTimeout(java.lang.Long idleConnectionTimeout)
idleConnectionTimeout - New value for the property.public ALBTCPProxyProfile.Builder setIdleConnectionType(java.lang.String idleConnectionType)
idleConnectionType - New value for the property.public ALBTCPProxyProfile.Builder setIgnoreTimeWait(java.lang.Boolean ignoreTimeWait)
ignoreTimeWait - New value for the property.public ALBTCPProxyProfile.Builder setIpDscp(java.lang.Long ipDscp)
ipDscp - New value for the property.public ALBTCPProxyProfile.Builder setKeepaliveInHalfcloseState(java.lang.Boolean keepaliveInHalfcloseState)
keepaliveInHalfcloseState - New value for the property.public ALBTCPProxyProfile.Builder setMaxRetransmissions(java.lang.Long maxRetransmissions)
maxRetransmissions - New value for the property.public ALBTCPProxyProfile.Builder setMaxSegmentSize(java.lang.Long maxSegmentSize)
maxSegmentSize - New value for the property.public ALBTCPProxyProfile.Builder setMaxSynRetransmissions(java.lang.Long maxSynRetransmissions)
maxSynRetransmissions - New value for the property.public ALBTCPProxyProfile.Builder setMinRexmtTimeout(java.lang.Long minRexmtTimeout)
minRexmtTimeout - New value for the property.public ALBTCPProxyProfile.Builder setNaglesAlgorithm(java.lang.Boolean naglesAlgorithm)
naglesAlgorithm - New value for the property.public ALBTCPProxyProfile.Builder setReassemblyQueueSize(java.lang.Long reassemblyQueueSize)
reassemblyQueueSize - New value for the property.public ALBTCPProxyProfile.Builder setReceiveWindow(java.lang.Long receiveWindow)
receiveWindow - New value for the property.public ALBTCPProxyProfile.Builder setReorderThreshold(java.lang.Long reorderThreshold)
reorderThreshold - New value for the property.public ALBTCPProxyProfile.Builder setSlowStartScalingFactor(java.lang.Long slowStartScalingFactor)
slowStartScalingFactor - New value for the property.public ALBTCPProxyProfile.Builder setTimeWaitDelay(java.lang.Long timeWaitDelay)
timeWaitDelay - New value for the property.public ALBTCPProxyProfile.Builder setUseInterfaceMtu(java.lang.Boolean useInterfaceMtu)
useInterfaceMtu - New value for the property.public ALBTCPProxyProfile build()