Type of proxy. @return Proxy to the ResourceManager for the specified client protocol. @throws IOException]]> Send the information of a number of conceptual entities to the timeline server. It is a blocking API. The method will not return until it gets the response from the timeline server.

@param entities the collection of {@link TimelineEntity} @return the error information if the sent entities are not correctly stored @throws IOException if there are I/O errors @throws YarnException if entities are incomplete/invalid]]>
Send the information of a number of conceptual entities to the timeline server. It is a blocking API. The method will not return until it gets the response from the timeline server. This API is only for timeline service v1.5

@param appAttemptId {@link ApplicationAttemptId} @param groupId {@link TimelineEntityGroupId} @param entities the collection of {@link TimelineEntity} @return the error information if the sent entities are not correctly stored @throws IOException if there are I/O errors @throws YarnException if entities are incomplete/invalid]]>
Send the information of a domain to the timeline server. It is a blocking API. The method will not return until it gets the response from the timeline server.

@param domain an {@link TimelineDomain} object @throws IOException @throws YarnException]]>
Send the information of a domain to the timeline server. It is a blocking API. The method will not return until it gets the response from the timeline server. This API is only for timeline service v1.5

@param domain an {@link TimelineDomain} object @param appAttemptId {@link ApplicationAttemptId} @throws IOException @throws YarnException]]>
Get a delegation token so as to be able to talk to the timeline server in a secure way.

@param renewer Address of the renewer who can renew these tokens when needed by securely talking to the timeline server @return a delegation token ({@link Token}) that can be used to talk to the timeline server @throws IOException @throws YarnException]]>
Renew a timeline delegation token.

@param timelineDT the delegation token to renew @return the new expiration time @throws IOException @throws YarnException]]>
Cancel a timeline delegation token.

@param timelineDT the delegation token to cancel @throws IOException @throws YarnException]]>
parameterized event of type T]]> InputStream to be checksumed @return the message digest of the input stream @throws IOException]]> SharedCacheChecksum object based on the configurable algorithm implementation (see yarn.sharedcache.checksum.algo.impl) @return SharedCacheChecksum object]]> The object type on which this state machine operates. @param The state of the entity. @param The external eventType to be handled. @param The event object.]]> When {@link #limit} would be reached on append, past messages will be truncated from head, and a header telling the user about truncation will be prepended, with ellipses in between header and messages.

Note that header and ellipses are not counted against {@link #limit}.

An example:

 {@code
   // At the beginning it's an empty string
   final Appendable shortAppender = new BoundedAppender(80);
   // The whole message fits into limit
   shortAppender.append(
       "message1 this is a very long message but fitting into limit\n");
   // The first message is truncated, the second not
   shortAppender.append("message2 this is shorter than the previous one\n");
   // The first message is deleted, the second truncated, the third
   // preserved
   shortAppender.append("message3 this is even shorter message, maybe.\n");
   // The first two are deleted, the third one truncated, the last preserved
   shortAppender.append("message4 the shortest one, yet the greatest :)");
   // Current contents are like this:
   // Diagnostic messages truncated, showing last 80 chars out of 199:
   // ...s is even shorter message, maybe.
   // message4 the shortest one, yet the greatest :)
 }
 

Note that null values are {@link #append(CharSequence) append}ed just like in {@link StringBuilder#append(CharSequence) original implementation}.

Note that this class is not thread safe.]]>