public class GatewayReceiver extends GroupableConfiguration<GatewayReceiverInfo>
Modifier and Type | Field and Description |
---|---|
static String |
GATEWAY_RECEIVERS_ENDPOINTS
the url end points to retrieve the gateway receivers
|
CLUSTER
Constructor and Description |
---|
GatewayReceiver() |
Modifier and Type | Method and Description |
---|---|
Integer |
getEndPort()
get the end port
|
List<ClassName> |
getGatewayTransportFilters()
get the list of transport filters
if you modify the returned list, you will be modifying the list owned by this config object.
|
String |
getId()
Returns
GroupableConfiguration.getGroup() or AbstractConfiguration.CLUSTER if group is null. |
Links |
getLinks() |
Integer |
getMaximumTimeBetweenPings()
get the maximum time between pings in milliseconds, the default is
CacheServer.DEFAULT_MAXIMUM_TIME_BETWEEN_PINGS = 60000
|
Integer |
getSocketBufferSize()
get the socket buffer size for socket buffers from the receiver to the sender.
|
Integer |
getStartPort()
get the starting port
|
Boolean |
isManualStart()
is this gateway receiver manually started
|
void |
setEndPort(Integer endPort)
set the end port
|
void |
setGatewayTransportFilters(List<ClassName> gatewayTransportFilters)
set the gateway transport filters
|
void |
setManualStart(Boolean manualStart)
set the manualStart
|
void |
setMaximumTimeBetweenPings(Integer maximumTimeBetweenPings)
set the maximum time between pings in milliseconds
|
void |
setSocketBufferSize(Integer socketBufferSize)
set the socket buffer size for socket buffers from the receiver to the sender.
|
void |
setStartPort(Integer startPort)
set the starting port
|
equals, getGroup, hashCode, setGroup
getCreationCommandType, getGroupName, isCluster, isGlobalRuntime
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
exists, find, remove
public static final String GATEWAY_RECEIVERS_ENDPOINTS
public String getId()
GroupableConfiguration.getGroup()
or AbstractConfiguration.CLUSTER
if group is null.getId
in interface Identifiable<String>
getId
in class AbstractConfiguration<GatewayReceiverInfo>
public Links getLinks()
getLinks
in class AbstractConfiguration<GatewayReceiverInfo>
public List<ClassName> getGatewayTransportFilters()
public void setGatewayTransportFilters(List<ClassName> gatewayTransportFilters)
gatewayTransportFilters
- a list of gateway transport filterspublic Integer getStartPort()
public void setStartPort(Integer startPort)
startPort
- the starting portpublic Integer getEndPort()
public void setEndPort(Integer endPort)
endPort
- the end portpublic Integer getMaximumTimeBetweenPings()
public void setMaximumTimeBetweenPings(Integer maximumTimeBetweenPings)
maximumTimeBetweenPings
- the maximum time between pings in millisecondspublic Integer getSocketBufferSize()
public void setSocketBufferSize(Integer socketBufferSize)
socketBufferSize
- the socket buffer size for socket buffers from the receiver to the
senderpublic Boolean isManualStart()
public void setManualStart(Boolean manualStart)
manualStart
- whether this gateway receiver is manually started