/** @return true if the current entry is part of replication stream. */ public boolean entryIsReplicated() { if (currentEntryHeader == null) { throw EnvironmentFailureException.unexpectedState( "entryIsReplicated should not be used before reader is " + "initialized"); } return currentEntryHeader.getReplicated(); }