Class AccumuloReloadingVFSClassLoader
- java.lang.Object
-
- org.apache.accumulo.start.classloader.vfs.AccumuloReloadingVFSClassLoader
-
- All Implemented Interfaces:
ReloadingClassLoader,org.apache.commons.vfs2.FileListener
@Deprecated public class AccumuloReloadingVFSClassLoader extends Object implements org.apache.commons.vfs2.FileListener, ReloadingClassLoader
Deprecated.Classloader that delegates operations to a VFSClassLoader object. This class also listens for changes in any of the files/directories that are in the classpath and will recreate the delegate object if there is any change in the classpath.
-
-
Constructor Summary
Constructors Constructor Description AccumuloReloadingVFSClassLoader(String uris, org.apache.commons.vfs2.FileSystemManager vfs, ReloadingClassLoader parent, boolean preDelegate)Deprecated.AccumuloReloadingVFSClassLoader(String uris, org.apache.commons.vfs2.FileSystemManager vfs, ReloadingClassLoader parent, long monitorDelay, boolean preDelegate)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.Should be ok if this is not called because the thread started by DefaultFileMonitor is a daemon threadvoidfileChanged(org.apache.commons.vfs2.FileChangeEvent event)Deprecated.voidfileCreated(org.apache.commons.vfs2.FileChangeEvent event)Deprecated.voidfileDeleted(org.apache.commons.vfs2.FileChangeEvent event)Deprecated.static <T> voidforEachCatchRTEs(Stream<T> stream, Consumer<T> consumer)Deprecated.ClassLoadergetClassLoader()Deprecated.Stringstringify(org.apache.commons.vfs2.FileObject[] files)Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
AccumuloReloadingVFSClassLoader
public AccumuloReloadingVFSClassLoader(String uris, org.apache.commons.vfs2.FileSystemManager vfs, ReloadingClassLoader parent, long monitorDelay, boolean preDelegate) throws org.apache.commons.vfs2.FileSystemException
Deprecated.- Throws:
org.apache.commons.vfs2.FileSystemException
-
AccumuloReloadingVFSClassLoader
public AccumuloReloadingVFSClassLoader(String uris, org.apache.commons.vfs2.FileSystemManager vfs, ReloadingClassLoader parent, boolean preDelegate) throws org.apache.commons.vfs2.FileSystemException
Deprecated.- Throws:
org.apache.commons.vfs2.FileSystemException
-
-
Method Detail
-
stringify
public String stringify(org.apache.commons.vfs2.FileObject[] files)
Deprecated.
-
getClassLoader
public ClassLoader getClassLoader()
Deprecated.- Specified by:
getClassLoaderin interfaceReloadingClassLoader
-
forEachCatchRTEs
public static <T> void forEachCatchRTEs(Stream<T> stream, Consumer<T> consumer)
Deprecated.
-
close
public void close()
Deprecated.Should be ok if this is not called because the thread started by DefaultFileMonitor is a daemon thread
-
fileCreated
public void fileCreated(org.apache.commons.vfs2.FileChangeEvent event) throws ExceptionDeprecated.- Specified by:
fileCreatedin interfaceorg.apache.commons.vfs2.FileListener- Throws:
Exception
-
fileDeleted
public void fileDeleted(org.apache.commons.vfs2.FileChangeEvent event) throws ExceptionDeprecated.- Specified by:
fileDeletedin interfaceorg.apache.commons.vfs2.FileListener- Throws:
Exception
-
fileChanged
public void fileChanged(org.apache.commons.vfs2.FileChangeEvent event) throws ExceptionDeprecated.- Specified by:
fileChangedin interfaceorg.apache.commons.vfs2.FileListener- Throws:
Exception
-
-