public IPersistantQueueFileWriter OpenCurrentWriteFile() { var file = new PersistantQueueFileWriter(WriteFileName); file.Open(); return(file); }
/// <summary> /// Move to the next file. /// </summary> /// <remarks> /// <para> /// TODO: Delete the oldest file if the number of files have been exceeded. /// </para> /// </remarks> public IPersistantQueueFileWriter CreateNewWriteFile() { WriteFileName = GetWriteFileName(); _files.AddLast(WriteFileName); var file = new PersistantQueueFileWriter(WriteFileName); file.Open(); return(file); }
public IPersistantQueueFileWriter OpenCurrentWriteFile() { var file = new PersistantQueueFileWriter(WriteFileName); file.Open(); return file; }
/// <summary> /// Move to the next file. /// </summary> /// <remarks> /// <para> /// TODO: Delete the oldest file if the number of files have been exceeded. /// </para> /// </remarks> public IPersistantQueueFileWriter CreateNewWriteFile() { WriteFileName = GetWriteFileName(); _files.AddLast(WriteFileName); var file = new PersistantQueueFileWriter(WriteFileName); file.Open(); return file; }