public RecordInfo(
     ISourceProcessor processor,
     ConsumeResult <byte[], byte[]> record,
     RecordQueue queue)
 {
     Processor = processor;
     Record    = record;
     Queue     = queue;
 }
Ejemplo 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);