public class AsyncChannelConfig extends SourceChannelConfig
UNLIMITED| Constructor and Description |
|---|
AsyncChannelConfig() |
AsyncChannelConfig(int batchSize,
long intervalMilis,
int intervalOperations,
ReplicationStatistics.ReplicationMode channelType) |
AsyncChannelConfig(int batchSize,
long intervalMilis,
int intervalOperations,
ReplicationStatistics.ReplicationMode channelType,
long maxAllowedDisconnectionTimeBeforeDrop) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
ReplicationStatistics.ReplicationMode |
getChannelType() |
long |
getIntervalMilis() |
int |
getIntervalOperations() |
String |
getTag() |
void |
readExternal(ObjectInput in) |
void |
setTag(String tag) |
void |
writeExternal(ObjectOutput out) |
getMaxAllowedDisconnectionTimeBeforeDropclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenabledSmartExternalizableWithReferencepublic AsyncChannelConfig()
public AsyncChannelConfig(int batchSize,
long intervalMilis,
int intervalOperations,
ReplicationStatistics.ReplicationMode channelType)
public AsyncChannelConfig(int batchSize,
long intervalMilis,
int intervalOperations,
ReplicationStatistics.ReplicationMode channelType,
long maxAllowedDisconnectionTimeBeforeDrop)
public void setTag(String tag)
tag - a name to identify the channel target.public String getTag()
public ReplicationStatistics.ReplicationMode getChannelType()
public int getBatchSize()
public long getIntervalMilis()
public int getIntervalOperations()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SourceChannelConfigIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SourceChannelConfigIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.