All Methods Instance Methods Abstract Methods Concrete Methods
Modifier and Type |
Method and Description |
protected void |
appendConfirmationStateString(StringBuilder dump) |
void |
beginSynchronizing(String memberName) |
void |
beginSynchronizing(String memberName,
boolean isDirectPersistencySync) |
protected SynchronizingData |
checkSynchronizingDone(SynchronizingData synchronizingData,
long currentKey,
String memberName) |
protected void |
cleanPendingErrorStateIfNeeded(String memberName,
long packetKeykey,
AbstractSingleFileConfirmationHolder confirmationHolder) |
protected void |
clearConfirmedPackets() |
void |
clearReplicated() |
void |
close() |
protected abstract T |
createBacklogOverflowPacket(long globalLastConfirmedKey,
long firstKeyInBacklog,
String memberName) |
protected abstract Map<String,CType> |
createConfirmationMap(SourceGroupConfig groupConfig) |
protected abstract CType |
createNewConfirmationHolder() |
void |
decreaseMirrorDiscardedCount(long count) |
void |
decreaseWeight(String memberName,
long lastConfirmedKey,
long newlyConfirmedKey,
AbstractSingleFileConfirmationHolder confirmationHolder) |
protected void |
decreaseWeightToAllMembersFromOldestPacket(long toKey) |
protected abstract void |
deleteBatchFromBacklog(long deletionBatchSize) |
protected void |
ensureLimit(IReplicationPacketData<?> data) |
protected T |
filterPacketForSynchronizing(SynchronizingData synchronizingData,
T packet,
IPacketFilteredHandler filteredHandler,
IReplicationPacketDataProducer dataProducer,
org.slf4j.Logger logger,
String memberName,
PlatformLogicalVersion targetMemberVersion) |
int |
flushRedoLogToStorage() |
void |
freeWriteLock() |
protected Collection<CType> |
getAllConfirmationHoldersUnsafe() |
protected Set<Map.Entry<String,CType>> |
getAllConfirmations() |
protected Set<Map.Entry<String,CType>> |
getAllConfirmations(String... filterMembers) |
protected IRedoLogFile<T> |
getBacklogFile() |
protected CType |
getConfirmationHolderUnsafe(String memberName) |
IMarker |
getCurrentMarker(String memberName)
Returns a marker of the current last position of the backlog
|
IReplicationPacketDataProducer |
getDataProducer() |
protected IPacketFilteredHandler |
getFilteredHandler() |
protected long |
getFirstKeyInBacklogInternal() |
protected long |
getFirstRequiredKeyUnsafe(String memberName) |
protected <T extends SourceGroupConfig> T |
getGroupConfigSnapshot() |
String |
getGroupName() |
protected long |
getInitialMaxAllowedDeleteUpTo() |
protected abstract long |
getLastConfirmedKeyUnsafe(String memberLookupName) |
protected long |
getLastInsertedKeyToBacklogUnsafe() |
protected String |
getLogPrefix() |
IMarker |
getMarker(IReplicationOrderedPacket packet,
String membersGroupName) |
protected Set<String> |
getMembersToValidateAgainst() |
protected abstract long |
getMemberUnconfirmedKey(CType value) |
protected long |
getMinimumUnconfirmedKeyUnsafe() |
String |
getName() |
IHandshakeIteration |
getNextHandshakeIteration(String memberName,
IHandshakeContext handshakeContext) |
protected long |
getNextKeyUnsafe() |
List<IReplicationOrderedPacket> |
getPackets(String memberName,
int maxSize,
IReplicationChannelDataFilter filter,
PlatformLogicalVersion targetMemberVersion,
org.slf4j.Logger logger) |
List<IReplicationOrderedPacket> |
getPacketsUnsafe(String memberName,
int maxWeight,
long upToKey,
IReplicationChannelDataFilter dataFilter,
IPacketFilteredHandler filteredHandler,
PlatformLogicalVersion targetMemberVersion,
org.slf4j.Logger logger) |
protected List<IReplicationOrderedPacket> |
getPacketsWithFullSerializedContent(String memberName,
long fromKey,
long upToKey,
int maxWeight) |
T |
getSpecificPacket(long packetKey)
Gets a specific packet inside the backlog
|
protected List<T> |
getSpecificPackets(long startPacketKey,
long endPacketKey) |
IRedoLogStatistics |
getStatistics() |
RedoLogSwapStorageType |
getSwapStorageType() |
IMarker |
getUnconfirmedMarker(String memberName)
Returns a marker of the current unconfirmed packet of this given member
|
long |
getWeight() |
long |
getWeight(String memberName) |
long |
getWeightUnsafe(String memberName) |
protected void |
handlePendingErrorBatchPackets(String memberName,
List<IReplicationOrderedPacket> packets,
Throwable error,
long potentialLastUnprocessedKey) |
protected void |
handlePendingErrorSinglePacket(String memberName,
IReplicationOrderedPacket packet,
Throwable error) |
protected boolean |
hasExistingMember() |
boolean |
hasMirror() |
protected void |
increaseAllMembersWeight(long weight,
long key) |
void |
increaseMirrorDiscardedCount(long count) |
void |
increaseWeight(String memberName,
long weight,
AbstractSingleFileConfirmationHolder confirmationHolder) |
protected void |
insertReplicationOrderedPacketToBacklog(T packet,
ReplicationOutContext outContext) |
protected boolean |
isBacklogDroppedEntirely() |
boolean |
isMarkerReached(String memberName,
long markedKey) |
protected SynchronizingData |
isSynchronizing(String memberName) |
protected void |
logPendingErrorResolved(String memberName,
Throwable error) |
void |
makeMemberConfirmedOnAll(String memberName)
Called once a new member addition is known to the available keepers
|
void |
memberAdded(MemberAddedEvent memberAddedParam,
SourceGroupConfig newConfig) |
void |
memberRemoved(String memberName,
SourceGroupConfig newConfig) |
void |
monitor(OperationWeightInfo info) |
protected abstract void |
onBeginSynchronization(String memberName) |
void |
performCompaction() |
void |
performCompactionUnsafe() |
void |
printRedoLog(String _name,
String from) |
void |
registerWith(MetricRegistrator metricRegister) |
protected void |
removeSynchronizingState(long currentKey,
String memberName) |
void |
setGroupHistory(IReplicationGroupHistory groupHistory) |
protected void |
setNextKeyUnsafe(long newNextKey) |
protected void |
setPacketWeight(IReplicationPacketData<?> data) |
void |
setPendingError(String memberName,
Throwable error,
IIdleStateData idleStateData) |
void |
setPendingError(String memberName,
Throwable error,
IReplicationOrderedPacket replicatedPacket) |
void |
setPendingError(String memberName,
Throwable error,
List<IReplicationOrderedPacket> replicatedPackets) |
void |
setStateListener(IReplicationBacklogStateListener stateListener) |
protected boolean |
shouldInsertPacket(IReplicationPacketData<?> data) |
long |
size() |
long |
size(String memberName) |
void |
stopSynchronization(String memberName) |
void |
synchronizationCopyStageDone(String memberName) |
boolean |
synchronizationDataGenerated(String memberName,
String uid) |
void |
synchronizationDone(String memberName) |
protected long |
takeNextKeyUnsafe(ReplicationOutContext replicationOutContext) |
String |
toLogMessage(String memberName) |
protected String |
toString(List<IReplicationOrderedPacket> packets) |
protected void |
updateBacklogLimitations(SourceGroupConfig groupConfig) |
void |
updateMirrorWeightAfterCompaction(CompactionResult compactionResult) |
protected void |
validateIntegrity() |
protected void |
validateReliableAsyncUpdateTargetsMatch(IReliableAsyncState reliableAsyncState,
String sourceMemberName) |
void |
writeLock() |