![JAR search and dependency download from the Maven repository](/logo.png)
org.glowroot.collector.TraceBase Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2011-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.glowroot.collector;
import javax.annotation.Nullable;
import org.glowroot.shaded.fasterxml.jackson.annotation.JsonIgnore;
import org.glowroot.shaded.fasterxml.jackson.annotation.JsonRawValue;
import org.glowroot.shaded.google.common.collect.ImmutableSetMultimap;
import org.immutables.value.Value;
@Value.Immutable
public abstract class TraceBase {
public abstract String id();
abstract boolean active();
// "partial" means "partial stored" but no longer currently active
public abstract boolean partial();
public abstract boolean error();
public abstract long startTime();
public abstract long captureTime();
public abstract long duration(); // nanoseconds
public abstract String transactionType();
public abstract String transactionName();
public abstract String headline();
public abstract @Nullable String user();
@JsonRawValue
public abstract @Nullable String customAttributes();
@JsonRawValue
public abstract @Nullable String customDetail();
public abstract @Nullable String errorMessage();
@JsonRawValue
public abstract @Nullable String errorThrowable();
@JsonRawValue
public abstract @Nullable String timers();
public abstract @Nullable Long threadCpuTime(); // nanoseconds
public abstract @Nullable Long threadBlockedTime(); // nanoseconds
public abstract @Nullable Long threadWaitedTime(); // nanoseconds
public abstract @Nullable Long threadAllocatedBytes();
@JsonRawValue
public abstract @Nullable String gcInfos();
public abstract int entryCount();
public abstract long profileSampleCount();
abstract Existence entriesExistence();
abstract Existence profileExistence();
@JsonIgnore
public abstract ImmutableSetMultimap customAttributesForIndexing();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy