Version 1.0.1 fixed bug in samples
This commit is contained in:
parent
1945844454
commit
d16315a4ba
2
pom.xml
2
pom.xml
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<artifactId>common-utils</artifactId>
|
<artifactId>common-utils</artifactId>
|
||||||
<groupId>org.warp</groupId>
|
<groupId>org.warp</groupId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.1</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
@ -20,7 +20,7 @@ public class AtomicDetailedTimeIncrementalSamples<T> extends AtomicTimeIncrement
|
|||||||
HashMap<T, AtomicTimeIncrementalSamplesSnapshot> detailedAtomicTimeSamples, boolean isSnapshot) {
|
HashMap<T, AtomicTimeIncrementalSamplesSnapshot> detailedAtomicTimeSamples, boolean isSnapshot) {
|
||||||
super(startTime, samples, sampleTime, currentSampleStartTime, totalEvents, isSnapshot);
|
super(startTime, samples, sampleTime, currentSampleStartTime, totalEvents, isSnapshot);
|
||||||
this.detailedAtomicTimeSamples = new HashMap<>();
|
this.detailedAtomicTimeSamples = new HashMap<>();
|
||||||
detailedAtomicTimeSamples.forEach((detail, sample) -> detailedAtomicTimeSamples.put(detail, (AtomicTimeIncrementalSamples) sample));
|
detailedAtomicTimeSamples.forEach((detail, sample) -> this.detailedAtomicTimeSamples.put(detail, (AtomicTimeIncrementalSamples) sample));
|
||||||
}
|
}
|
||||||
|
|
||||||
private synchronized AtomicTimeIncrementalSamples getDetailed(T detail) {
|
private synchronized AtomicTimeIncrementalSamples getDetailed(T detail) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user