Class CallReader

java.lang.Object
org.qubership.profiler.io.CallReader
All Implemented Interfaces:
ICallReader
Direct Known Subclasses:
CallReaderFile

public abstract class CallReader extends Object implements ICallReader
  • Field Details

    • cf

      protected final CallFilterer cf
    • callback

      protected final CallListener callback
    • exceptions

      protected final Collection<Throwable> exceptions
    • callBeginTime

      protected long callBeginTime
    • minCallBeginTime

      protected long minCallBeginTime
    • begin

      protected long begin
    • end

      protected long end
    • beginSuspendLog

      protected long beginSuspendLog
    • endSuspendLog

      protected long endSuspendLog
    • callDataReader

      protected CallDataReader callDataReader
    • reactorCallReader

      protected ReactorCallReader reactorCallReader
  • Constructor Details

  • Method Details

    • getExceptions

      public Collection<Throwable> getExceptions()
      Specified by:
      getExceptions in interface ICallReader
    • find

      public final void find()
      Finds all the calls that match filter criteria
      Specified by:
      find in interface ICallReader
    • innerFind

      protected abstract void innerFind()
    • readStartTime

      public static CallsFileHeader readStartTime(org.qubership.profiler.dump.DataInputStreamEx calls) throws IOException
      Throws:
      IOException
    • findCallsInStream

      protected boolean findCallsInStream(org.qubership.profiler.dump.DataInputStreamEx is, org.qubership.profiler.dump.DataInputStreamEx reactorCalls, String callsStreamIndex, SuspendLog suspendLog, ArrayList<Call> result, BitSet requiredIds)
    • findCallsInStream

      protected boolean findCallsInStream(org.qubership.profiler.dump.DataInputStreamEx is, org.qubership.profiler.dump.DataInputStreamEx reactorCalls, String callsStreamIndex, SuspendLog suspendLog, ArrayList<Call> result, BitSet requiredIds, long endScan)
    • setTimeFilterCondition

      public void setTimeFilterCondition(long begin, long end)
      Specified by:
      setTimeFilterCondition in interface ICallReader
    • getBegin

      public long getBegin()
    • getEnd

      public long getEnd()
    • getRootReference

      public String getRootReference()