public interface RuntimeContext extends FeatureFlagsProvider
Modifier and Type | Method and Description |
---|---|
Admin |
getAdmin() |
ApplicationSpecification |
getApplicationSpecification() |
String |
getClusterName() |
DataTracer |
getDataTracer(String dataTracerName) |
String |
getNamespace() |
org.apache.twill.api.RunId |
getRunId() |
Map<String,String> |
getRuntimeArguments() |
isFeatureEnabled
ApplicationSpecification getApplicationSpecification()
Map<String,String> getRuntimeArguments()
String getClusterName()
String getNamespace()
org.apache.twill.api.RunId getRunId()
RunId
of the current run@Beta DataTracer getDataTracer(String dataTracerName)
dataTracerName
- the name of the logger using which the debug information will be
loggedDataTracer
to perform data trace operations.Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.