public interface IReplicationGroupBacklog extends DynamicSourceGroupConfigHolder.IDynamicSourceGroupStateListener
IReplicationSourceGroup
memberAdded, memberRemoved
IBacklogHandshakeRequest getHandshakeRequest(String memberName, Object customBacklogMetadata)
IHandshakeContext processHandshakeResponse(String memberName, IBacklogHandshakeRequest request, IProcessLogHandshakeResponse response, PlatformLogicalVersion targetLogicalVersion, Object customBacklogMetadata)
IHandshakeIteration getNextHandshakeIteration(String memberName, IHandshakeContext handshakeContext)
long size(String memberName)
long size()
void clearReplicated()
IBacklogMemberState getState(String memberName)
void processResult(String memberName, IProcessResult result, List<IReplicationOrderedPacket> packets) throws ReplicationException
ReplicationException
void processResult(String memberName, IProcessResult result, IReplicationOrderedPacket packet) throws ReplicationException
ReplicationException
void setPendingError(String memberName, Throwable error, List<IReplicationOrderedPacket> replicatedPackets)
void setPendingError(String memberName, Throwable error, IReplicationOrderedPacket replicatedPacket)
void setPendingError(String memberName, Throwable error, IIdleStateData idleStateData)
List<IReplicationOrderedPacket> getPackets(String memberName, int maxSize, IReplicationChannelDataFilter filter, PlatformLogicalVersion targetMemberVersion, org.slf4j.Logger logger)
void beginSynchronizing(String memberName)
void beginSynchronizing(String memberName, boolean isDirectPersistencySync)
void synchronizationCopyStageDone(String memberName)
void synchronizationDone(String memberName)
void stopSynchronization(String memberName)
IMarker getCurrentMarker(String memberName)
memberName
- the member we wish this marker will be attached toIMarker getUnconfirmedMarker(String memberName)
memberName
- the member we wish this marker will be attached toIMarker getMarker(IReplicationOrderedPacket packet, String membersGroupName)
IReplicationPacketDataProducer getDataProducer()
IReplicationOrderedPacket replaceWithDiscarded(IReplicationOrderedPacket packet, boolean forceDiscard)
boolean mergeWithDiscarded(IReplicationOrderedPacket previousDiscardedPacket, IReplicationOrderedPacket mergedPacket, String memberName)
previousDiscardedPacket
- the already existing discarded packet which is a result replaceWithDiscarded(IReplicationOrderedPacket, boolean)
mergedPacket
- the new packet that needs to be discarded and merged into the
existing discarded packetmemberName
- TODOvoid makeMemberConfirmedOnAll(String memberName)
memberName
- new member nameboolean supportDiscardMerge()
IRedoLogStatistics getStatistics()
int flushRedoLogToStorage()
void monitor(OperationWeightInfo info) throws RedoLogCapacityExceededException
RedoLogCapacityExceededException
String dumpState()
void close()
void setGroupHistory(IReplicationGroupHistory groupHistory)
void setStateListener(IReplicationBacklogStateListener stateListener)
IProcessResult fromWireForm(Object wiredProcessResult)
IReplicationOrderedPacket getSpecificPacket(long packetKey)
IIdleStateData getIdleStateData(String memberName, PlatformLogicalVersion targetMemberVersion)
void processIdleStateDataResult(String memberName, IProcessResult result, IIdleStateData idleStateData) throws ReplicationException
ReplicationException
void registerWith(MetricRegistrator metricRegister)
long getConfirmed(String memberName)
void writeLock()
void freeWriteLock()
long getWeight()
long getWeight(String memberName)
void increaseWeight(String memberName, long weight, AbstractSingleFileConfirmationHolder holder)
void decreaseWeight(String memberName, long fromKey, long toKey, AbstractSingleFileConfirmationHolder holder)
void performCompaction()
Copyright © GigaSpaces.