public abstract class QueryMessageSupplier extends Object
QueryMessage instances. Needs to be thread safe since transaction
thread creates it, but trace storage (and live viewing) is done in a separate thread.| Modifier | Constructor and Description |
|---|---|
protected |
QueryMessageSupplier() |
| Modifier and Type | Method and Description |
|---|---|
static QueryMessageSupplier |
create(String prefix)
Creates a
QueryMessageSupplier for the specified prefix. |
static QueryMessageSupplier |
create(String prefix,
String suffix)
Creates a
QueryMessageSupplier for the specified prefix and suffix. |
abstract QueryMessage |
get()
Returns the
QueryMessage for a QueryEntry. |
public static QueryMessageSupplier create(String prefix)
QueryMessageSupplier for the specified prefix.public static QueryMessageSupplier create(String prefix, String suffix)
QueryMessageSupplier for the specified prefix and suffix.public abstract QueryMessage get()
QueryMessage for a QueryEntry.
The QueryMessage does not need to be thread safe if it is instantiated by the
implementation of this method.Copyright © 2011–2017 Glowroot contributors. All rights reserved.