public interface IReplicationChannelDataFilter
Modifier and Type | Interface and Description |
---|---|
static class |
IReplicationChannelDataFilter.FilterOperation |
Modifier and Type | Method and Description |
---|---|
void |
filterAfterReplicatedEntryData(IReplicationPacketEntryData data,
PlatformLogicalVersion targetLogicalVersion,
IReplicationPacketEntryDataContentExtractor contentExtractor,
org.slf4j.Logger contextLogger)
Called after entry data was replicated successfully
|
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 |
filterBeforeReplicatingEntryDataHasSideEffects()
Specifies wheter the filter operations have a side effect and cannot be called more than once
for the same entry data
|
boolean |
filterBeforeReplicatingUnreliableOperation(IReplicationUnreliableOperation operation,
PlatformLogicalVersion targetLogicalVersion)
Specifies whether the given unreliable operation should pass the filter and not be removed
|
Object[] |
getConstructionArgument() |
ReplicationChannelEntryDataFilterResult filterBeforeReplicatingEntryData(IReplicationPacketEntryData entryData, PlatformLogicalVersion targetLogicalVersion, IReplicationPacketEntryDataContentExtractor contentExtractor, org.slf4j.Logger contextLogger, IReplicationPacketData<?> data)
targetLogicalVersion
- The logical version of the targetcontentExtractor
- extracts content from the datacontextLogger
- context LoggerReplicationChannelDataFilterResult filterBeforeReplicatingData(IReplicationPacketData<?> data, PlatformLogicalVersion targetLogicalVersion, org.slf4j.Logger contextLogger)
targetLogicalVersion
- The logical version of the targetcontextLogger
- context Loggerboolean filterBeforeReplicatingUnreliableOperation(IReplicationUnreliableOperation operation, PlatformLogicalVersion targetLogicalVersion)
targetLogicalVersion
- The logical version of the targettrue
if the unreliable operation should not be filtered,
false
otherwisevoid filterAfterReplicatedEntryData(IReplicationPacketEntryData data, PlatformLogicalVersion targetLogicalVersion, IReplicationPacketEntryDataContentExtractor contentExtractor, org.slf4j.Logger contextLogger)
targetLogicalVersion
- The logical version of the targetcontentExtractor
- extracts content from the datacontextLogger
- context Loggerboolean filterBeforeReplicatingEntryDataHasSideEffects()
Object[] getConstructionArgument()
IReplicationChannelDataFilterBuilder
this is generally used when serializing the
filter between replication members (reliable async)Copyright © GigaSpaces.