creates a factory to read or write from a file . when opening for read , the readmessage can be invoked , and when opening for write the writemessage can be invoked . concode_field_sep File file concode_elem_sep org.apache.juli.logging.Log log concode_elem_sep boolean openForWrite concode_elem_sep FileInputStream in concode_elem_sep long size concode_elem_sep int READ_SIZE concode_elem_sep int nrOfMessagesProcessed concode_elem_sep Map<Long,FileMessage> msgBuffer concode_elem_sep FileOutputStream out concode_elem_sep long totalNrOfMessages concode_elem_sep AtomicLong lastMessageProcessed concode_elem_sep boolean isWriting concode_elem_sep byte[] data concode_elem_sep boolean closed concode_field_sep void cleanup concode_elem_sep void checkState concode_elem_sep FileMessage readMessage concode_elem_sep void main concode_elem_sep File getFile concode_elem_sep boolean writeMessage
FileMessageFactory function ( File arg0 , boolean arg1 ) { return new FileMessageFactory ( arg0 , arg1 ) ; }