Package io.grpc.internal
Class InsightBuilder
java.lang.Object
io.grpc.internal.InsightBuilder
Builds a concise and readable string that gives insight of the concerned part of the system. The
resulted string is made up of a list of short strings, each of which gives out a piece of
information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends a piece of information which is a plain string.appendKeyValue
(String key, Object value) Appends a piece of information which is a key-value , which will be formatted into"key=value"
.toString()
Get the resulting string.
-
Constructor Details
-
InsightBuilder
public InsightBuilder()
-
-
Method Details
-
append
Appends a piece of information which is a plain string. The given object is immediately converted to string and recorded. -
appendKeyValue
Appends a piece of information which is a key-value , which will be formatted into"key=value"
. Value'stoString()
ornull
is immediately recorded. -
toString
Get the resulting string.
-