class StoppedKamonTimer implements StoppedTimer {

    @Override
    public Duration getDuration() {
        return Duration.ofNanos(this.endTimestamp - this.startTimestamp);
    }

    private  StoppedKamonTimer(final String name, final Map<String, String> tags, final long startTimestamp,
            final Map<String, StartedTimer> segments, List<OnStopHandler> onStopHandlers);

}