类的使用
org.apache.pulsar.common.functions.FunctionConfig
使用FunctionConfig的程序包
程序包
说明
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
org.apache.pulsar.client.admin中FunctionConfig的使用
修饰符和类型方法说明Functions.getFunction(String tenant, String namespace, String function) Get the configuration for the specified function.返回变量类型为FunctionConfig的类型的org.apache.pulsar.client.admin中的方法修饰符和类型方法说明Functions.getFunctionAsync(String tenant, String namespace, String function) Get the configuration for the specified function asynchronously.修饰符和类型方法说明voidFunctions.createFunction(FunctionConfig functionConfig, String fileName) Create a new function.Functions.createFunctionAsync(FunctionConfig functionConfig, String fileName) Create a new function asynchronously.voidFunctions.createFunctionWithUrl(FunctionConfig functionConfig, String pkgUrl) Create a new function with package url.Functions.createFunctionWithUrlAsync(FunctionConfig functionConfig, String pkgUrl) Create a new function with package url asynchronously.voidFunctions.updateFunction(FunctionConfig functionConfig, String fileName) Update the configuration for a function.voidFunctions.updateFunction(FunctionConfig functionConfig, String fileName, UpdateOptions updateOptions) Update the configuration for a function.Functions.updateFunctionAsync(FunctionConfig functionConfig, String fileName) Update the configuration for a function asynchronously.Functions.updateFunctionAsync(FunctionConfig functionConfig, String fileName, UpdateOptions updateOptions) Update the configuration for a function asynchronously.voidFunctions.updateFunctionWithUrl(FunctionConfig functionConfig, String pkgUrl) Update the configuration for a function.voidFunctions.updateFunctionWithUrl(FunctionConfig functionConfig, String pkgUrl, UpdateOptions updateOptions) Update the configuration for a function.Functions.updateFunctionWithUrlAsync(FunctionConfig functionConfig, String pkgUrl) Update the configuration for a function asynchronously.Functions.updateFunctionWithUrlAsync(FunctionConfig functionConfig, String pkgUrl, UpdateOptions updateOptions) Update the configuration for a function asynchronously.