public class GeneralReplicationChannelDataFilter extends AbstractReplicationChannelDataFilter
IReplicationChannelDataFilter.FilterOperation
Modifier | Constructor and Description |
---|---|
protected |
GeneralReplicationChannelDataFilter() |
Modifier and Type | Method and Description |
---|---|
ReplicationChannelDataFilterResult |
filterBeforeReplicatingData(IReplicationPacketData<?> data,
PlatformLogicalVersion targetLogicalVersion,
org.slf4j.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,
org.slf4j.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() |
static GeneralReplicationChannelDataFilter |
getInstance() |
filterAfterReplicatedEntryData, filterBeforeReplicatingEntryDataHasSideEffects
protected GeneralReplicationChannelDataFilter()
public static GeneralReplicationChannelDataFilter getInstance()
public ReplicationChannelEntryDataFilterResult filterBeforeReplicatingEntryData(IReplicationPacketEntryData entryData, PlatformLogicalVersion targetLogicalVersion, IReplicationPacketEntryDataContentExtractor contentExtractor, org.slf4j.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, org.slf4j.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.