public RecordInfo(
     ISourceProcessor processor,
     ConsumeResult <byte[], byte[]> record,
     RecordQueue queue)
 {
     Processor = processor;
     Record    = record;
     Queue     = queue;
 }
Esempio n. 2
0
 public bool Equals(RecordQueue other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(HeadRecordTimestamp == other.HeadRecordTimestamp);
 }
 public int CompareTo(RecordQueue other)
 => HeadRecordTimestamp.CompareTo(other.HeadRecordTimestamp);