Пример #1
0
        public IPersistantQueueFileWriter OpenCurrentWriteFile()
        {
            var file = new PersistantQueueFileWriter(WriteFileName);

            file.Open();
            return(file);
        }
Пример #2
0
        /// <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);
        }
Пример #3
0
 public IPersistantQueueFileWriter OpenCurrentWriteFile()
 {
     var file = new PersistantQueueFileWriter(WriteFileName);
     file.Open();
     return file;
 }
Пример #4
0
 /// <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;
 }