@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=GatewayReceiverConfiguration.class) public @interface EnableGatewayReceiver
EnableGatewayReceiver
annotation creates a GatewayReceiver
within an Apache Geode
or Pivotal GemFire peer Cache
.Cache
,
GatewayReceiver
,
GatewayTransportFilter
,
Import
Modifier and Type | Optional Element and Description |
---|---|
String |
bindAddress
The IP address or hostname that the
GatewayReceiver communication socket will be bound to. |
int |
endPort
The end port that GatewayReceiver will use when selecting a port to run on.
|
String |
hostnameForSenders
The hostname or IP Address that the
GatewaySender will use to connect and communicate with the
GatewayReceiver . |
boolean |
manualStart
A boolean to allow the GatewayReceiver to be created without being started after creation.
|
int |
maximumTimeBetweenPings
An integer value in milliseconds representing the maximum time which a
GatewayReceiver
will wait to receive a ping back from a GatewaySender before the GatewayReceiver
believes the sender to be not available. |
int |
socketBufferSize
The socket buffer size for the
GatewayReceiver . |
int |
startPort
The starting port that GatewayReceiver will use when selecting a port to run on.
|
String[] |
transportFilters
An in-order list of
GatewayTransportFilter to be applied to
GatewayReceiver This property can also be configured using the spring.data.gemfire.gateway.receiver.transport-filters property Default value is an empty String array |
public abstract String bindAddress
GatewayReceiver
communication socket will be bound to.
An empty String will cause the underlying socket to bind to 0.0.0.0public abstract String hostnameForSenders
GatewaySender
will use to connect and communicate with the
GatewayReceiver
. An empty String will cause the system to expose the hostname
to the GatewaySender
. Generally this property is set when there are multiple
network interfaces or when they are designated as "internal" or "public" network interfaces. In a cloud environment
the notion of external and internal network interfaces exist and generally the "externally"/outwardly facing network
interface is used.public abstract boolean manualStart
public abstract int maximumTimeBetweenPings
GatewayReceiver
will wait to receive a ping back from a GatewaySender
before the GatewayReceiver
believes the sender to be not available.public abstract int startPort
public abstract int endPort
public abstract int socketBufferSize
GatewayReceiver
. This setting is in bytes.public abstract String[] transportFilters
GatewayTransportFilter
to be applied to
GatewayReceiver
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.