Class TextBasedRESTEasyTracingInfo
- java.lang.Object
-
- org.jboss.resteasy.tracing.api.RESTEasyTracingInfo
-
- org.jboss.resteasy.tracing.api.providers.TextBasedRESTEasyTracingInfo
-
public class TextBasedRESTEasyTracingInfo extends RESTEasyTracingInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected List<RESTEasyTracingMessage>messageList-
Fields inherited from class org.jboss.resteasy.tracing.api.RESTEasyTracingInfo
DEFAULT, INSTANCES
-
-
Constructor Summary
Constructors Constructor Description TextBasedRESTEasyTracingInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMessage(RESTEasyTracingMessage message)StringformatDuration(long duration)protected StringformatDuration(long fromTimestamp, long toTimestamp)protected static StringformatPercent(long value, long top)String[]getMessages()booleansupports(RESTEasyTracingInfoFormat format)-
Methods inherited from class org.jboss.resteasy.tracing.api.RESTEasyTracingInfo
get
-
-
-
-
Field Detail
-
messageList
protected final List<RESTEasyTracingMessage> messageList
-
-
Method Detail
-
formatPercent
protected static String formatPercent(long value, long top)
-
formatDuration
public String formatDuration(long duration)
- Specified by:
formatDurationin classRESTEasyTracingInfo
-
formatDuration
protected String formatDuration(long fromTimestamp, long toTimestamp)
-
addMessage
public void addMessage(RESTEasyTracingMessage message)
- Specified by:
addMessagein classRESTEasyTracingInfo
-
supports
public boolean supports(RESTEasyTracingInfoFormat format)
- Specified by:
supportsin classRESTEasyTracingInfo
-
getMessages
public String[] getMessages()
- Specified by:
getMessagesin classRESTEasyTracingInfo
-
-