类的使用
org.apache.pulsar.common.functions.FunctionState
使用FunctionState的程序包
程序包
说明
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
org.apache.pulsar.client.admin中FunctionState的使用
修饰符和类型方法说明Functions.getFunctionState(String tenant, String namespace, String function, String key) Fetch the current state associated with a Pulsar Function.返回变量类型为FunctionState的类型的org.apache.pulsar.client.admin中的方法修饰符和类型方法说明Functions.getFunctionStateAsync(String tenant, String namespace, String function, String key) Fetch the current state associated with a Pulsar Function asynchronously.修饰符和类型方法说明voidFunctions.putFunctionState(String tenant, String namespace, String function, FunctionState state) Puts the given state associated with a Pulsar Function.Functions.putFunctionStateAsync(String tenant, String namespace, String function, FunctionState state) Puts the given state associated with a Pulsar Function asynchronously.