Package org.qubership.profiler.io
Class ArraySuspendLogCollection
java.lang.Object
org.qubership.profiler.io.ArraySuspendLogCollection
- All Implemented Interfaces:
ISuspendLogCollection
-
Constructor Summary
ConstructorsConstructorDescriptionArraySuspendLogCollection(long[] dates, int[] delays, int[] trueDelays) ArraySuspendLogCollection(long[] dates, int[] delays, int[] trueDelays, int size) -
Method Summary
Modifier and TypeMethodDescriptionintbinarySearch(long begin) longgetDate(int index) intgetDelay(int index) intgetTrueDelay(int index) intsize()
-
Constructor Details
-
ArraySuspendLogCollection
public ArraySuspendLogCollection(long[] dates, int[] delays, int[] trueDelays) -
ArraySuspendLogCollection
public ArraySuspendLogCollection(long[] dates, int[] delays, int[] trueDelays, int size)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceISuspendLogCollection
-
getDate
public long getDate(int index) - Specified by:
getDatein interfaceISuspendLogCollection
-
getDelay
public int getDelay(int index) - Specified by:
getDelayin interfaceISuspendLogCollection
-
getTrueDelay
public int getTrueDelay(int index) - Specified by:
getTrueDelayin interfaceISuspendLogCollection
-
binarySearch
public int binarySearch(long begin) - Specified by:
binarySearchin interfaceISuspendLogCollection
-