writes an entry to the checkpoint file . the entry should not have its sequence number set . this method will add the proper sequence number to the passed in entry . concode_field_sep long mNextCompleteLogNumber concode_elem_sep DataOutputStream mOutputStream concode_elem_sep String mJournalDirectory concode_elem_sep long mMaxLogSize concode_elem_sep UnderFileSystem mUfs concode_elem_sep OutputStream mRawOutputStream concode_elem_sep String mTempCheckpointPath concode_elem_sep long mNextEntrySequenceNumber concode_elem_sep CheckpointOutputStream mCheckpointOutputStream concode_elem_sep String mCompletedDirectory concode_elem_sep Journal mJournal concode_elem_sep boolean mIsClosed concode_elem_sep DataOutputStream mDataOutputStream concode_elem_sep Logger LOG concode_elem_sep EntryOutputStream mEntryOutputStream concode_field_sep OutputStream openCurrentLog concode_elem_sep void completeCurrentLog concode_elem_sep boolean isClosed concode_elem_sep void flush concode_elem_sep void flush concode_elem_sep void deleteCompletedLogs concode_elem_sep JournalOutputStream getEntryOutputStream concode_elem_sep void completeAllLogs concode_elem_sep void close concode_elem_sep void close concode_elem_sep void close concode_elem_sep JournalOutputStream getCheckpointOutputStream