类 FunctionCacheManagerImpl
java.lang.Object
org.apache.pulsar.functions.utils.functioncache.FunctionCacheManagerImpl
- 所有已实现的接口:
AutoCloseable,FunctionCacheManager
An implementation of
FunctionCacheManager.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidclose()Close the cache manager to release created class loaders.getClassLoader(String fid) Returns the function code class loader associated with id.voidregisterFunctionInstance(String fid, String eid, List<String> requiredJarFiles, List<URL> requiredClasspaths) voidregisterFunctionInstanceWithArchive(String fid, String eid, String narArchive, String narExtractionDirectory) voidunregisterFunctionInstance(String fid, String eid) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.pulsar.functions.utils.functioncache.FunctionCacheManager
registerFunction, unregisterFunction
-
构造器详细资料
-
FunctionCacheManagerImpl
-
-
方法详细资料
-
getClassLoader
从接口复制的说明:FunctionCacheManagerReturns the function code class loader associated with id.- 指定者:
getClassLoader在接口中FunctionCacheManager- 参数:
fid- function id- 返回:
- class loader which can load the function code.
-
registerFunctionInstance
public void registerFunctionInstance(String fid, String eid, List<String> requiredJarFiles, List<URL> requiredClasspaths) throws IOException - 指定者:
registerFunctionInstance在接口中FunctionCacheManager- 抛出:
IOException
-
registerFunctionInstanceWithArchive
public void registerFunctionInstanceWithArchive(String fid, String eid, String narArchive, String narExtractionDirectory) throws IOException -
unregisterFunctionInstance
-
close
public void close()从接口复制的说明:FunctionCacheManagerClose the cache manager to release created class loaders.- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中FunctionCacheManager
-