Package com._1c.g5.v8.dt.telemetry
Class CompositeTelemetryDump
java.lang.Object
com._1c.g5.v8.dt.telemetry.CompositeTelemetryDump
- All Implemented Interfaces:
ITelemetryDump
This dump contains nested dumps and performs ordering of their records while being processed to provide planar
repesentation of their records being sorted by record timestamps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNestedDump(ITelemetryDump nestedDump) Add nested dump to this dumpbooleanisEmpty()Checks if the telemetry dump is emptylongRequests the timestamp of the oldest record in the dump.pop()Pops the record of the dump.
-
Constructor Details
-
CompositeTelemetryDump
public CompositeTelemetryDump()Constructs the dump
-
-
Method Details
-
addNestedDump
Add nested dump to this dump- Parameters:
nestedDump- The nested dump to add. May not benull
-
isEmpty
public boolean isEmpty()Description copied from interface:ITelemetryDumpChecks if the telemetry dump is empty- Specified by:
isEmptyin interfaceITelemetryDump- Returns:
- True if the dump is empty
-
peekOldestRecordTimestamp
public long peekOldestRecordTimestamp()Description copied from interface:ITelemetryDumpRequests the timestamp of the oldest record in the dump. This action doesn't change the record set access order- Specified by:
peekOldestRecordTimestampin interfaceITelemetryDump- Returns:
- The topmost record timestamp. Cannot be negative or zero
-
pop
Description copied from interface:ITelemetryDumpPops the record of the dump. The record is being removed from the dump and cannot be accessed again via the dump itself- Specified by:
popin interfaceITelemetryDump- Returns:
- The popped record, may not be
null
-