public class ViewReplicationChannelDataFilter extends ReliableAsyncChannelDataFilter
IReplicationChannelDataFilter.FilterOperation
Constructor and Description |
---|
ViewReplicationChannelDataFilter(CacheManager cacheManager,
String groupName,
ITemplatePacket[] templates,
RegexCache regexCache,
SpaceTypeManager typeManager) |
Modifier and Type | Method and Description |
---|---|
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
|
protected void |
finalize() |
Object[] |
getConstructionArgument() |
static boolean |
hasCreatedFilters(String groupName) |
filterBeforeReplicatingData
filterAfterReplicatedEntryData, filterBeforeReplicatingEntryDataHasSideEffects
public ViewReplicationChannelDataFilter(CacheManager cacheManager, String groupName, ITemplatePacket[] templates, RegexCache regexCache, SpaceTypeManager typeManager)
public static boolean hasCreatedFilters(String groupName)
protected void finalize() throws Throwable
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 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.