|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.core.gateway.GatewayTargetsFactoryBean
public class GatewayTargetsFactoryBean
A factory bean for creating a GatewaysPolicy
instance.
Constructor Summary | |
---|---|
GatewayTargetsFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
com.gigaspaces.internal.cluster.node.impl.gateway.GatewaysPolicy |
asGatewaysPolicy()
|
List<GatewayTarget> |
getGatewayTargets()
|
String |
getLocalGatewayName()
|
void |
setBulkSize(Integer bulkSize)
Sets the number of packets in each replication bulk sent to this gateway. |
void |
setGatewayTargets(List<GatewayTarget> gatewayTargets)
Sets the gateway targets configuration. |
void |
setIdleTimeThreshold(Long idleTimeThreshold)
Sets the maximum time (in milliseconds) pending replication packets should wait before being replicated if setPendingOperationThreshold(Integer) has not been breached. |
void |
setLocalGatewayName(String localGatewayName)
Sets the local gateway name used for identification. |
void |
setMaxRedoLogCapacity(Long maxRedoLogCapacity)
Sets limited redo log capacity for this gateway |
void |
setOnRedoLogCapacityExceeded(com.j_spaces.core.cluster.RedoLogCapacityExceededPolicy onRedoLogCapacityExceeded)
Sets the behavior once the defined redo log capacity is exceeded, irrelevant if the capacity is unlimited. |
void |
setPendingOperationThreshold(Integer pendingOperationThreshold)
Sets the threshold count for pending replication packets that once reached, the packets will be replicated using the setBulkSize(Integer) . |
void |
setReplicateChangeAsUpdate(Boolean replicateChangeAsUpdate)
Sets whether change operations should be replicated as full update. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GatewayTargetsFactoryBean()
Method Detail |
---|
public void setLocalGatewayName(String localGatewayName)
localGatewayName
- The local gateway name.public String getLocalGatewayName()
public List<GatewayTarget> getGatewayTargets()
GatewayTarget
s configuration as array.public void setGatewayTargets(List<GatewayTarget> gatewayTargets)
gatewayTargets
- The gateway targets.public void setBulkSize(Integer bulkSize)
bulkSize
- number of packets in each replication bulk sent to this gateway.public void setIdleTimeThreshold(Long idleTimeThreshold)
setPendingOperationThreshold(Integer)
has not been breached.
idleTimeThreshold
- the maximum time (in milliseconds).public void setPendingOperationThreshold(Integer pendingOperationThreshold)
setBulkSize(Integer)
.
pendingOperationThreshold
- the threshold count.setIdleTimeThreshold(Long)
public void setMaxRedoLogCapacity(Long maxRedoLogCapacity)
maxRedoLogCapacity
- redo log limitpublic void setOnRedoLogCapacityExceeded(com.j_spaces.core.cluster.RedoLogCapacityExceededPolicy onRedoLogCapacityExceeded)
onRedoLogCapacityExceeded
- setMaxRedoLogCapacity(Long)
public void setReplicateChangeAsUpdate(Boolean replicateChangeAsUpdate)
replicateChangeAsUpdate
- true if change should be replicated as update.public com.gigaspaces.internal.cluster.node.impl.gateway.GatewaysPolicy asGatewaysPolicy()
GatewaysPolicy
instance using the bean's properties.public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |