public class OffloadersCache extends Object implements AutoCloseable
| Constructor and Description |
|---|
OffloadersCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Offloaders |
getOrLoadOffloaders(String offloadersPath,
String narExtractionDirectory)
Method to load an Offloaders directory or to get an already loaded Offloaders directory.
|
public Offloaders getOrLoadOffloaders(String offloadersPath, String narExtractionDirectory)
offloadersPath - - the directory to search the offloaders nar filesnarExtractionDirectory - - the directory to use for extractionIOException - when fail to retrieve the pulsar offloader classpublic void close()
close in interface AutoCloseableCopyright © 2017–2021 Apache Software Foundation. All rights reserved.