@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class TimelineReaderClient extends CompositeService
STOP_ONLY_STARTED_SERVICES| Constructor and Description | 
|---|
| TimelineReaderClient(String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| static TimelineReaderClient | createTimelineReaderClient()Create a new instance of Timeline Reader Client. | 
| abstract List<TimelineEntity> | getApplicationAttemptEntities(ApplicationId appId,
                             String fields,
                             Map<String,String> filters,
                             long limit,
                             String fromId)Gets application attempt entities. | 
| abstract TimelineEntity | getApplicationAttemptEntity(ApplicationAttemptId appAttemptId,
                           String fields,
                           Map<String,String> filters)Gets application attempt entity. | 
| abstract TimelineEntity | getApplicationEntity(ApplicationId appId,
                    String fields,
                    Map<String,String> filters)Gets application entity. | 
| abstract List<TimelineEntity> | getContainerEntities(ApplicationId appId,
                    String fields,
                    Map<String,String> filters,
                    long limit,
                    String fromId)Gets container entities for an application. | 
| abstract TimelineEntity | getContainerEntity(ContainerId containerId,
                  String fields,
                  Map<String,String> filters)Gets Timeline entity for the container. | 
addIfService, addService, getServices, removeService, serviceInit, serviceStart, serviceStopclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop@InterfaceAudience.Private public TimelineReaderClient(String name)
@InterfaceAudience.Public public static TimelineReaderClient createTimelineReaderClient()
public abstract TimelineEntity getApplicationEntity(ApplicationId appId, String fields, Map<String,String> filters) throws IOException
appId - application idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.IOExceptionpublic abstract TimelineEntity getApplicationAttemptEntity(ApplicationAttemptId appAttemptId, String fields, Map<String,String> filters) throws IOException
appAttemptId - application attempt idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.IOExceptionpublic abstract List<TimelineEntity> getApplicationAttemptEntities(ApplicationId appId, String fields, Map<String,String> filters, long limit, String fromId) throws IOException
appId - application idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.limit - Number of entities to return.fromId - Retrieve next set of generic ids from given fromIdIOExceptionpublic abstract TimelineEntity getContainerEntity(ContainerId containerId, String fields, Map<String,String> filters) throws IOException
containerId - container idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.IOExceptionpublic abstract List<TimelineEntity> getContainerEntities(ApplicationId appId, String fields, Map<String,String> filters, long limit, String fromId) throws IOException
appId - application idfields - Fields to be fetched. Defaults to INFO.filters - Filters to be applied while fetching entities.limit - Number of entities to return.fromId - Retrieve next set of generic ids from given fromIdIOExceptionCopyright © 2023 Apache Software Foundation. All rights reserved.