Class AsyncChannelConfig
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.config.SourceChannelConfig
com.gigaspaces.internal.cluster.node.impl.groups.reliableasync.AsyncChannelConfig
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Since:
- 8.0.3
- See Also:
-
Field Summary
Fields inherited from class com.gigaspaces.internal.cluster.node.impl.config.SourceChannelConfig
UNLIMITED -
Constructor Summary
ConstructorsConstructorDescriptionAsyncChannelConfig(int batchSize, long intervalMilis, int intervalOperations, ReplicationStatistics.ReplicationMode channelType) AsyncChannelConfig(int batchSize, long intervalMilis, int intervalOperations, ReplicationStatistics.ReplicationMode channelType, long maxAllowedDisconnectionTimeBeforeDrop) -
Method Summary
Methods inherited from class com.gigaspaces.internal.cluster.node.impl.config.SourceChannelConfig
getMaxAllowedDisconnectionTimeBeforeDropMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AsyncChannelConfig
public AsyncChannelConfig() -
AsyncChannelConfig
public AsyncChannelConfig(int batchSize, long intervalMilis, int intervalOperations, ReplicationStatistics.ReplicationMode channelType) -
AsyncChannelConfig
public AsyncChannelConfig(int batchSize, long intervalMilis, int intervalOperations, ReplicationStatistics.ReplicationMode channelType, long maxAllowedDisconnectionTimeBeforeDrop)
-
-
Method Details
-
setTag
- Parameters:
tag- a name to identify the channel target.- Since:
- 14.5
-
getTag
- Returns:
- a name/id/tag identifying the channel target.
- Since:
- 14.5
-
getChannelType
-
getBatchSize
public int getBatchSize() -
getIntervalMilis
public long getIntervalMilis() -
getIntervalOperations
public int getIntervalOperations() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classSourceChannelConfig- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classSourceChannelConfig- Throws:
IOExceptionClassNotFoundException
-