Interface Component<W extends WorkerService>
- Type Parameters:
W- worker service type
- All Known Implementing Classes:
ComponentImpl,FunctionsImpl,SinksImpl,SourcesImpl
public interface Component<W extends WorkerService>
Provide service API to access components.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidderegisterFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataHttps clientAuthenticationDataHttps) Deprecated.voidderegisterFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) default javax.ws.rs.core.StreamingOutputdownloadFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataHttps clientAuthenticationDataHttps) Deprecated.default javax.ws.rs.core.StreamingOutputdownloadFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) Deprecated.javax.ws.rs.core.StreamingOutputdownloadFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps, boolean transformFunction) default javax.ws.rs.core.StreamingOutputdownloadFunction(String path, String clientRole, AuthenticationDataHttps clientAuthenticationDataHttps) Deprecated.javax.ws.rs.core.StreamingOutputdownloadFunction(String path, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) org.apache.pulsar.common.functions.FunctionConfiggetFunctionInfo(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) org.apache.pulsar.common.policies.data.FunctionInstanceStatsDataImplgetFunctionsInstanceStats(String tenant, String namespace, String componentName, String instanceId, URI uri, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) org.apache.pulsar.common.functions.FunctionStategetFunctionState(String tenant, String namespace, String functionName, String key, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) org.apache.pulsar.common.policies.data.FunctionStatsImplgetFunctionStats(String tenant, String namespace, String componentName, URI uri, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) List<org.apache.pulsar.common.io.ConnectorDefinition>listFunctions(String tenant, String namespace, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) voidputFunctionState(String tenant, String namespace, String functionName, String key, org.apache.pulsar.common.functions.FunctionState state, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) voidreloadConnectors(String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) voidrestartFunctionInstance(String tenant, String namespace, String componentName, String instanceId, URI uri, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) voidrestartFunctionInstances(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) voidstartFunctionInstance(String tenant, String namespace, String componentName, String instanceId, URI uri, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) voidstartFunctionInstances(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) voidstopFunctionInstance(String tenant, String namespace, String componentName, String instanceId, URI uri, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) voidstopFunctionInstances(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) triggerFunction(String tenant, String namespace, String functionName, String input, InputStream uploadedInputStream, String topic, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) voiduploadFunction(InputStream uploadedInputStream, String path, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) worker()
-
Method Details
-
worker
W worker() -
deregisterFunction
void deregisterFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) -
deregisterFunction
@Deprecated default void deregisterFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataHttps clientAuthenticationDataHttps) Deprecated. -
getFunctionInfo
org.apache.pulsar.common.functions.FunctionConfig getFunctionInfo(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) -
stopFunctionInstance
-
startFunctionInstance
-
restartFunctionInstance
-
startFunctionInstances
void startFunctionInstances(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) -
stopFunctionInstances
void stopFunctionInstances(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) -
restartFunctionInstances
void restartFunctionInstances(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) -
getFunctionStats
-
getFunctionsInstanceStats
-
triggerFunction
String triggerFunction(String tenant, String namespace, String functionName, String input, InputStream uploadedInputStream, String topic, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) -
listFunctions
-
getFunctionState
-
putFunctionState
-
uploadFunction
void uploadFunction(InputStream uploadedInputStream, String path, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) -
downloadFunction
javax.ws.rs.core.StreamingOutput downloadFunction(String path, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) -
downloadFunction
@Deprecated default javax.ws.rs.core.StreamingOutput downloadFunction(String path, String clientRole, AuthenticationDataHttps clientAuthenticationDataHttps) Deprecated. -
downloadFunction
javax.ws.rs.core.StreamingOutput downloadFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps, boolean transformFunction) -
downloadFunction
@Deprecated default javax.ws.rs.core.StreamingOutput downloadFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataSource clientAuthenticationDataHttps) Deprecated. -
downloadFunction
@Deprecated default javax.ws.rs.core.StreamingOutput downloadFunction(String tenant, String namespace, String componentName, String clientRole, AuthenticationDataHttps clientAuthenticationDataHttps) Deprecated. -
getListOfConnectors
List<org.apache.pulsar.common.io.ConnectorDefinition> getListOfConnectors() -
reloadConnectors
-