|
GigaSpaces XAP 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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()
|
Integer |
getBulkSize()
|
Long |
getIdleTimeThreshold()
|
Long |
getMaxRedoLogCapacity()
|
String |
getName()
|
com.j_spaces.core.cluster.RedoLogCapacityExceededPolicy |
getOnRedoLogCapacityExceeded()
Sets limited redo log capacity for this gateway |
Integer |
getPendingOperationThreshold()
|
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 |
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()
public void setPendingOperationThreshold(Integer pendingOperationThreshold)
setBulkSize(Integer).
pendingOperationThreshold - the threshold count.#setIdleTimeThreshold(long)public Integer getPendingOperationThreshold()
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()
maxRedoLogCapacity - redo log limitpublic com.gigaspaces.internal.cluster.node.impl.gateway.GatewayPolicy asGatewayPolicy()
GatewayPolicy instance from the gateway target's properties.
|
GigaSpaces XAP 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||