Class UDFClassLoaderManager
- java.lang.Object
-
- org.apache.iotdb.commons.udf.service.UDFClassLoaderManager
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinalizeUDFQuery(java.lang.String queryId)UDFClassLoadergetActiveClassLoader()ServiceTypegetID()Get the name of the the service.static UDFClassLoaderManagergetInstance()voidinitializeUDFQuery(java.lang.String queryId)static UDFClassLoaderManagersetupAndGetInstance(java.lang.String libRoot)voidstart()Start current service.voidstop()Stop current service.UDFClassLoaderupdateAndGetActiveClassLoader()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.commons.service.IService
shutdown, waitAndStop
-
-
-
-
Method Detail
-
initializeUDFQuery
public void initializeUDFQuery(java.lang.String queryId)
-
finalizeUDFQuery
public void finalizeUDFQuery(java.lang.String queryId)
-
updateAndGetActiveClassLoader
public UDFClassLoader updateAndGetActiveClassLoader() throws java.io.IOException
- Throws:
java.io.IOException
-
getActiveClassLoader
public UDFClassLoader getActiveClassLoader()
-
start
public void start() throws StartupExceptionDescription copied from interface:IServiceStart current service.- Specified by:
startin interfaceIService- Throws:
StartupException
-
stop
public void stop()
Description copied from interface:IServiceStop current service. If current service uses thread or thread pool, current service should guarantee to putBack thread or thread pool.
-
getID
public ServiceType getID()
Description copied from interface:IServiceGet the name of the the service.
-
setupAndGetInstance
public static UDFClassLoaderManager setupAndGetInstance(java.lang.String libRoot)
-
getInstance
public static UDFClassLoaderManager getInstance()
-
-