public class GlobalOrderBacklogBuilder extends Object implements IReplicationBacklogBuilder
IReplicationGroupBacklog
that each group has a global order that the packets must
be processed by the corresponding IReplicationTargetProcessLog
. The order is generated by
the order of which the packets were inserted to the backlog
In other words, the backlog is a single list of packets such that a packet can be processed by
the target only if all the packets that appear before it in the list were processed.Constructor and Description |
---|
GlobalOrderBacklogBuilder(IReplicationPacketDataProducer<?> dataProducer,
String name) |
Modifier and Type | Method and Description |
---|---|
GlobalOrderAsyncGroupBacklog |
createAsyncGroupBacklog(DynamicSourceGroupConfigHolder groupConfig) |
GlobalOrderReliableAsyncGroupBacklog |
createReliableAsyncGroupBacklog(DynamicSourceGroupConfigHolder groupConfig)
Create a backlog for a reliable async
IReplicationSourceGroup |
GlobalOrderSyncGroupBacklog |
createSyncGroupBacklog(DynamicSourceGroupConfigHolder groupConfig)
Create a backlog for a sync
IReplicationSourceGroup |
String |
toString() |
public GlobalOrderBacklogBuilder(IReplicationPacketDataProducer<?> dataProducer, String name)
public GlobalOrderSyncGroupBacklog createSyncGroupBacklog(DynamicSourceGroupConfigHolder groupConfig)
IReplicationSyncBacklogBuilder
IReplicationSourceGroup
createSyncGroupBacklog
in interface IReplicationSyncBacklogBuilder
groupConfig
- the group configpublic GlobalOrderAsyncGroupBacklog createAsyncGroupBacklog(DynamicSourceGroupConfigHolder groupConfig)
createAsyncGroupBacklog
in interface IReplicationAsyncBacklogBuilder
public GlobalOrderReliableAsyncGroupBacklog createReliableAsyncGroupBacklog(DynamicSourceGroupConfigHolder groupConfig)
IReplicationReliableAsyncBacklogBuilder
IReplicationSourceGroup
createReliableAsyncGroupBacklog
in interface IReplicationReliableAsyncBacklogBuilder
groupConfig
- the group configCopyright © GigaSpaces.