public interface IReplicationPacketDataConsumer<T extends IReplicationPacketData<?>>
IReplicationPacketData
and delegate it to the corresponding replication in
handler.Modifier and Type | Method and Description |
---|---|
T |
applyFix(IReplicationInContext context,
T data,
IDataConsumeFix fix)
Apply a fix to a data, the fix is generated due to a failed consumption of
IReplicationPacketData |
IDataConsumeResult |
consume(IReplicationInContext context,
T data,
IReplicationInFacade replicationInFacade,
IReplicationInFilterCallback filterInCallback)
Consumes a
IReplicationPacketData and delegate the operation is represents to the
corresponding method at the given IReplicationInFacade |
IReplicationParticipantsMetadata |
extractParticipantsMetadata(IReplicationPacketData<?> data)
Extracts participants meta data for the provided replication packet data
|
SpaceTypeManager |
getTypeManager() |
IReplicationPacketData<?> |
merge(IReplicationPacketData<?>[] allParticipantsData,
IReplicationParticipantsMetadata participantsMetadata)
Merges data of multiple participants operations to a single operation data which will
eventually be executed as one.
|
Iterable<IReplicationFilterEntry> |
toFilterEntries(IReplicationInContext context,
IReplicationPacketData<?> data)
Transform generated data to filter entry in order to be passed to a filter
|
IDataConsumeResult consume(IReplicationInContext context, T data, IReplicationInFacade replicationInFacade, IReplicationInFilterCallback filterInCallback)
IReplicationPacketData
and delegate the operation is represents to the
corresponding method at the given IReplicationInFacade
data
- operation to consume and translate to an operationreplicationInFacade
- facade to delegate the data as incoming replicationT applyFix(IReplicationInContext context, T data, IDataConsumeFix fix) throws Exception
IReplicationPacketData
data
- data to fixfix
- fix to applyException
Iterable<IReplicationFilterEntry> toFilterEntries(IReplicationInContext context, IReplicationPacketData<?> data)
IReplicationParticipantsMetadata extractParticipantsMetadata(IReplicationPacketData<?> data)
IReplicationPacketData<?> merge(IReplicationPacketData<?>[] allParticipantsData, IReplicationParticipantsMetadata participantsMetadata)
participantsMetadata
- TODOSpaceTypeManager getTypeManager()
Copyright © GigaSpaces.