Class InstanceConfig
- java.lang.Object
-
- org.apache.pulsar.functions.instance.InstanceConfig
-
public class InstanceConfig extends java.lang.ObjectThis is the config passed to the Java Instance. Contains all the information passed to run functions.
-
-
Constructor Summary
Constructors Constructor Description InstanceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.pulsar.functions.proto.Function.FunctionDetailsgetFunctionDetails()java.lang.StringgetInstanceName()Get the string representation of#getInstanceId().booleanhasValidMetricsPort()
-
-
-
Method Detail
-
getInstanceName
public java.lang.String getInstanceName()
Get the string representation of#getInstanceId().- Returns:
- the string representation of
#getInstanceId().
-
getFunctionDetails
public org.apache.pulsar.functions.proto.Function.FunctionDetails getFunctionDetails()
-
hasValidMetricsPort
public boolean hasValidMetricsPort()
-
-