public class WarmStandbyConfiguration
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
MAX_TIMEOUT |
Maximum timeout/delay between channel reopening attempts.
|
Constructor | Description |
---|---|
WarmStandbyConfiguration(Endpoint activeEndpoint,
Endpoint standbyEndpoint) |
Creates a WarmStandbyConfiguration instance.
|
WarmStandbyConfiguration(Endpoint activeEndpoint,
Endpoint standbyEndpoint,
int timeout,
short attempts) |
Creates a WarmStandbyConfiguration instance.
|
WarmStandbyConfiguration(Endpoint activeEndpoint,
Endpoint standbyEndpoint,
int timeout,
short attempts,
short switchovers) |
Creates a WarmStandbyConfiguration instance.
|
WarmStandbyConfiguration(Endpoint activeEndpoint,
Endpoint standbyEndpoint,
int timeout,
short attempts,
short switchovers,
int firstReconnectTimeout) |
Creates a WarmStandbyConfiguration instance.
|
Modifier and Type | Method | Description |
---|---|---|
Endpoint |
getActiveEndpoint() |
Gets the active endpoint.
|
java.lang.Short |
getAttempts() |
Gets the maximum number of reconnection attempts.
|
java.lang.Integer |
getFirstReconnectTimeout() |
Gets timeout (in milliseconds) of first fast reconnect.
|
Endpoint |
getStandbyEndpoint() |
Gets the standby endpoint.
|
java.lang.Short |
getSwitchovers() |
Gets the number of primary/backup switchovers.
|
java.lang.Integer |
getTimeout() |
Gets the timeout (in milliseconds) between the reconnection attempts.
|
void |
setActiveEndpoint(Endpoint newActiveEndpoint) |
Sets the active endpoint.
|
void |
setAttempts(java.lang.Short attemptsNum) |
Sets the maximum number of reconnection attempts.
|
void |
setFirstReconnectTimeout(java.lang.Integer firstReconnectTimeout) |
Sets timeout of first fast reconnect.
|
void |
setStandbyEndpoint(Endpoint newStandbyEndpoint) |
Sets the standby endpoint.
|
void |
setSwitchovers(java.lang.Short switchoversNum) |
Sets the number of primary/backup switchovers.
|
void |
setTimeout(java.lang.Integer newTimeout) |
Sets the newTimeout (in milliseconds) between the reconnection attempts.
|
java.lang.String |
toString() |
Returns a string representation of the object.
|
public static final int MAX_TIMEOUT
public WarmStandbyConfiguration(Endpoint activeEndpoint, Endpoint standbyEndpoint)
activeEndpoint
- channel's Active EndpointstandbyEndpoint
- channel's Standby Endpointpublic WarmStandbyConfiguration(Endpoint activeEndpoint, Endpoint standbyEndpoint, int timeout, short attempts)
activeEndpoint
- channel's Active EndpointstandbyEndpoint
- channel's Standby Endpointtimeout
- timeout between reconnection attempts (in milliseconds)attempts
- number of reconnection attemptspublic WarmStandbyConfiguration(Endpoint activeEndpoint, Endpoint standbyEndpoint, int timeout, short attempts, short switchovers)
activeEndpoint
- channel's Active EndpointstandbyEndpoint
- channel's Standby Endpointtimeout
- timeout between reconnection attempts (in milliseconds)attempts
- number of reconnection attemptsswitchovers
- number of primary/backup switchoverspublic WarmStandbyConfiguration(Endpoint activeEndpoint, Endpoint standbyEndpoint, int timeout, short attempts, short switchovers, int firstReconnectTimeout)
activeEndpoint
- channel's Active EndpointstandbyEndpoint
- channel's Standby Endpointtimeout
- timeout between reconnection attempts (in milliseconds)attempts
- number of reconnection attemptsswitchovers
- number of primary/backup switchoversfirstReconnectTimeout
- timeout of first fast reconnectpublic final Endpoint getActiveEndpoint()
public final void setActiveEndpoint(Endpoint newActiveEndpoint)
newActiveEndpoint
- active endpointpublic final Endpoint getStandbyEndpoint()
public final void setStandbyEndpoint(Endpoint newStandbyEndpoint)
newStandbyEndpoint
- standby endpointpublic final java.lang.Short getSwitchovers()
public final void setSwitchovers(java.lang.Short switchoversNum)
switchoversNum
- the number of primary/backup switchoverspublic final java.lang.Integer getTimeout()
public final void setTimeout(java.lang.Integer newTimeout)
newTimeout
- the new timeout value in millisecondspublic final java.lang.Short getAttempts()
public final void setAttempts(java.lang.Short attemptsNum)
attemptsNum
- the number of reconnection attemptspublic java.lang.Integer getFirstReconnectTimeout()
public void setFirstReconnectTimeout(java.lang.Integer firstReconnectTimeout)
firstReconnectTimeout
- timeout of first fast reconnect in milliseconds.public java.lang.String toString()
toString
in class java.lang.Object
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.