*
* @param lastLogEntry the last entry in the replicated log
* @param replicatedToAllIndex the current replicatedToAllIndex
*
* @param lastLogEntry the last entry in the replicated log
* @param replicatedToAllIndex the current replicatedToAllIndex
/**
* Initiate capture snapshot for the purposing of installing that snapshot
*
* @param lastLogEntry
* @param replicatedToAllIndex
/**
* Initiate capture snapshot for the purposing of installing that snapshot
*
* @param lastLogEntry
* @param replicatedToAllIndex
- void persist(DataPersistenceProvider persistenceProvider, byte[] snapshotBytes, RaftActorBehavior currentBehavior);
+ void persist(DataPersistenceProvider persistenceProvider, byte[] snapshotBytes, RaftActorBehavior currentBehavior
+ ,long totalMemory);