public class GeneralReplicationChannelDataFilter extends AbstractReplicationChannelDataFilter
IReplicationChannelDataFilter.FilterOperation
Modifier | Constructor and Description |
---|---|
protected |
GeneralReplicationChannelDataFilter() |
filterAfterReplicatedEntryData, filterBeforeReplicatingEntryDataHasSideEffects
protected GeneralReplicationChannelDataFilter()
public static GeneralReplicationChannelDataFilter getInstance()
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
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.