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>messageListDeprecated, for removal: This API element is subject to removal in a future version.-
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 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
addMessage, get, isEmpty, pop, size
-
-
-
-
Field Detail
-
messageList
@Deprecated(forRemoval=true) protected final List<RESTEasyTracingMessage> messageList
Deprecated, for removal: This API element is subject to removal in a future version.Note this is an unmodifiable list that removes entries upon iteration.The
List.iterator(),List.size()andList.isEmpty()are the only method that don't throw anUnsupportedOperationException.
-
-
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)
-
supports
public boolean supports(RESTEasyTracingInfoFormat format)
- Specified by:
supportsin classRESTEasyTracingInfo
-
getMessages
public String[] getMessages()
- Specified by:
getMessagesin classRESTEasyTracingInfo
-
-