Package org.glowroot.agent.plugin.api
Class QueryMessageSupplier
java.lang.Object
org.glowroot.agent.plugin.api.QueryMessageSupplier
A (lazy) supplier of
QueryMessage
instances. Needs to be thread safe since transaction
thread creates it, but trace storage (and live viewing) is done in a separate thread.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryMessageSupplier
Creates aQueryMessageSupplier
for the specifiedprefix
.static QueryMessageSupplier
Creates aQueryMessageSupplier
for the specifiedprefix
andsuffix
.abstract QueryMessage
get()
Returns theQueryMessage
for aQueryEntry
.
-
Constructor Details
-
QueryMessageSupplier
protected QueryMessageSupplier()
-
-
Method Details
-
get
Returns theQueryMessage
for aQueryEntry
. TheQueryMessage
does not need to be thread safe if it is instantiated by the implementation of this method. -
create
Creates aQueryMessageSupplier
for the specifiedprefix
andsuffix
. -
create
Creates aQueryMessageSupplier
for the specifiedprefix
.
-