public class FlowletLoggingContext extends ApplicationLoggingContext
LoggingContext.SystemTag| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_FLOW_ID |
static String |
TAG_FLOWLET_ID |
TAG_ADAPTER_ID, TAG_APPLICATION_ID, TAG_INSTANCE_ID, TAG_RUNID_IDTAG_NAMESPACE_ID| Constructor and Description |
|---|
FlowletLoggingContext(String namespaceId,
String applicationId,
String flowId,
String flowletId,
String runId,
String instanceId)
Constructs the FlowletLoggingContext.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLogPartition() |
String |
getLogPathFragment(String logBaseDir) |
setAdapterId, setInstanceIdgetNamespacedLogBaseDirgetSystemTag, getSystemTags, getSystemTagsMap, setSystemTag, toStringpublic static final String TAG_FLOW_ID
public static final String TAG_FLOWLET_ID
public FlowletLoggingContext(String namespaceId, String applicationId, String flowId, String flowletId, String runId, String instanceId)
namespaceId - namespace idapplicationId - application idflowId - flow idflowletId - flowlet idrunId - run idinstanceId - instance idpublic String getLogPartition()
getLogPartition in interface LoggingContextgetLogPartition in class ApplicationLoggingContextpublic String getLogPathFragment(String logBaseDir)
getLogPathFragment in interface LoggingContextgetLogPathFragment in class ApplicationLoggingContextCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.