Interface SegmentDirectoryLoader
-
public interface SegmentDirectoryLoaderInterface for creating and loading theSegmentDirectoryinstance using provided config
-
-
Method Summary
Modifier and Type Method Description default voiddelete(SegmentDirectoryLoaderContext segmentDirectoryLoaderContext)Clean up the segment data from the server.SegmentDirectoryload(URI indexDir, SegmentDirectoryLoaderContext segmentDirectoryLoaderContext)Creates theSegmentDirectoryinstance
-
-
-
Method Detail
-
load
SegmentDirectory load(URI indexDir, SegmentDirectoryLoaderContext segmentDirectoryLoaderContext) throws Exception
Creates theSegmentDirectoryinstance- Parameters:
indexDir- index directorysegmentDirectoryLoaderContext- context for loading this segment- Throws:
Exception
-
delete
default void delete(SegmentDirectoryLoaderContext segmentDirectoryLoaderContext) throws Exception
Clean up the segment data from the server.- Parameters:
segmentDirectoryLoaderContext- context for cleaning up segment data- Throws:
Exception
-
-