|
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.GatewayTarget
public class GatewayTarget
Holds gateway target configuration.
Constructor Summary | |
---|---|
GatewayTarget()
|
|
GatewayTarget(String name)
|
Method Summary | |
---|---|
com.gigaspaces.internal.cluster.node.impl.gateway.GatewayPolicy |
asGatewayPolicy()
|
com.gigaspaces.internal.cluster.node.impl.gateway.GatewayPolicy |
asGatewayPolicy(com.gigaspaces.internal.cluster.node.impl.gateway.GatewayPolicy defaultGatewayPolicy)
|
Integer |
getBulkSize()
|
Long |
getIdleTimeThreshold()
|
Long |
getMaxRedoLogCapacity()
|
String |
getName()
|
com.j_spaces.core.cluster.RedoLogCapacityExceededPolicy |
getOnRedoLogCapacityExceeded()
get limited redo log capacity behavior policy for this gateway |
Integer |
getPendingOperationThreshold()
|
Boolean |
isReplicateChangeAsUpdate()
get replicate change as update behavior for this gateway. |
void |
setBulkSize(Integer bulkSize)
Sets the number of packets in each replication bulk sent to this gateway. |
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 |
setMaxRedoLogCapacity(Long maxRedoLogCapacity)
Sets limited redo log capacity for this gateway |
void |
setName(String name)
Sets the gateway's target name used for identification. |
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. |
void |
setUnlimitedRedoLogCapacity()
Sets unlimited replication redo log capacity for this gateway. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GatewayTarget()
public GatewayTarget(String name)
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The gateway name.public void setBulkSize(Integer bulkSize)
bulkSize
- number of packets in each replication bulk sent to this gateway.public Integer getBulkSize()
public void setIdleTimeThreshold(Long idleTimeThreshold)
setPendingOperationThreshold(Integer)
has not been breached.
idleTimeThreshold
- the maximum time (in milliseconds).public Long getIdleTimeThreshold()
setPendingOperationThreshold(Integer)
has not been breached.public void setPendingOperationThreshold(Integer pendingOperationThreshold)
setBulkSize(Integer)
.
pendingOperationThreshold
- the threshold count.setIdleTimeThreshold(Long)
public Integer getPendingOperationThreshold()
setBulkSize(Integer)
.public void setUnlimitedRedoLogCapacity()
public void setMaxRedoLogCapacity(Long maxRedoLogCapacity)
maxRedoLogCapacity
- redo log limitpublic Long getMaxRedoLogCapacity()
public void setOnRedoLogCapacityExceeded(com.j_spaces.core.cluster.RedoLogCapacityExceededPolicy onRedoLogCapacityExceeded)
onRedoLogCapacityExceeded
- setMaxRedoLogCapacity(Long)
public com.j_spaces.core.cluster.RedoLogCapacityExceededPolicy getOnRedoLogCapacityExceeded()
public void setReplicateChangeAsUpdate(Boolean replicateChangeAsUpdate)
replicateChangeAsUpdate
- true if change should be replicated as update.public Boolean isReplicateChangeAsUpdate()
public com.gigaspaces.internal.cluster.node.impl.gateway.GatewayPolicy asGatewayPolicy()
GatewayPolicy
instance from the gateway target's properties.public com.gigaspaces.internal.cluster.node.impl.gateway.GatewayPolicy asGatewayPolicy(com.gigaspaces.internal.cluster.node.impl.gateway.GatewayPolicy defaultGatewayPolicy)
GatewayPolicy
instance from the gateway target's properties, using provided default policy for properties which
are not explicitly set by this instance.
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |