public class GatewayChannelDataFilter extends ReliableAsyncChannelDataFilter
IReplicationChannelDataFilter.FilterOperation
Constructor and Description |
---|
GatewayChannelDataFilter(boolean replicateChangeAsUpdate) |
Modifier and Type | Method and Description |
---|---|
ReplicationChannelDataFilterResult |
filterBeforeReplicatingData(IReplicationPacketData<?> data,
PlatformLogicalVersion targetLogicalVersion,
Logger contextLogger)
Specifies whether the given data should pass the filter as is, be converted or removed
|
ReplicationChannelEntryDataFilterResult |
filterBeforeReplicatingEntryData(IReplicationPacketEntryData entryData,
PlatformLogicalVersion targetLogicalVersion,
IReplicationPacketEntryDataContentExtractor contentExtractor,
Logger contextLogger,
IReplicationPacketData data)
Specifies whether the given entry data should pass the filter as is, be converted or removed
|
boolean |
filterBeforeReplicatingUnreliableOperation(IReplicationUnreliableOperation operation,
PlatformLogicalVersion targetLogicalVersion)
Specifies whether the given unreliable operation should pass the filter and not be removed
|
Object[] |
getConstructionArgument() |
filterAfterReplicatedEntryData, filterBeforeReplicatingEntryDataHasSideEffects
public GatewayChannelDataFilter(boolean replicateChangeAsUpdate)
public ReplicationChannelEntryDataFilterResult filterBeforeReplicatingEntryData(IReplicationPacketEntryData entryData, PlatformLogicalVersion targetLogicalVersion, IReplicationPacketEntryDataContentExtractor contentExtractor, Logger contextLogger, IReplicationPacketData data)
IReplicationChannelDataFilter
targetLogicalVersion
- The logical version of the targetcontentExtractor
- extracts content from the datacontextLogger
- context Loggerpublic ReplicationChannelDataFilterResult filterBeforeReplicatingData(IReplicationPacketData<?> data, PlatformLogicalVersion targetLogicalVersion, Logger contextLogger)
IReplicationChannelDataFilter
filterBeforeReplicatingData
in interface IReplicationChannelDataFilter
filterBeforeReplicatingData
in class ReliableAsyncChannelDataFilter
targetLogicalVersion
- The logical version of the targetcontextLogger
- context Loggerpublic boolean filterBeforeReplicatingUnreliableOperation(IReplicationUnreliableOperation operation, PlatformLogicalVersion targetLogicalVersion)
IReplicationChannelDataFilter
targetLogicalVersion
- The logical version of the targettrue
if the unreliable operation should not be filtered,
false
otherwisepublic Object[] getConstructionArgument()
IReplicationChannelDataFilterBuilder
this is generally used when serializing the
filter between replication members (reliable async)Copyright © GigaSpaces.