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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryMessageSupplierCreates aQueryMessageSupplierfor the specifiedprefix.static QueryMessageSupplierCreates aQueryMessageSupplierfor the specifiedprefixandsuffix.abstract QueryMessageget()Returns theQueryMessagefor aQueryEntry.
-
Constructor Details
-
QueryMessageSupplier
protected QueryMessageSupplier()
-
-
Method Details
-
get
Returns theQueryMessagefor aQueryEntry. TheQueryMessagedoes not need to be thread safe if it is instantiated by the implementation of this method. -
create
Creates aQueryMessageSupplierfor the specifiedprefixandsuffix. -
create
Creates aQueryMessageSupplierfor the specifiedprefix.
-