*
* @return true if there was real work done.
*/
private boolean restoreSnapshotForRejoin() {
boolean doneWork = false;
RestoreWork rejoinWork = m_rejoinSnapshotProcessor.poll(new CachedByteBufferAllocator());
if (rejoinWork != null) {
rejoinWork.restore(this);
doneWork = true;
} else if (m_rejoinSnapshotProcessor.isEOF()) {
m_rejoinLog.debug("Rejoin snapshot transfer is finished");