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) |
getMaxAllowedDisconnectionTimeBeforeDrop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public 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 Externalizable
writeExternal
in class SourceChannelConfig
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SourceChannelConfig
IOException
ClassNotFoundException
Copyright © GigaSpaces.