@Singleton @Named public class DefaultIndexPacker extends Object implements IndexPacker
IndexPacker implementation. Creates the properties, legacy index zip and new gz files.ROLE| Constructor and Description |
|---|
DefaultIndexPacker(IncrementalHandler incrementalHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected Logger |
getLogger() |
void |
packIndex(IndexPackingRequest request)
Pack a context into a target directory.
|
@Inject public DefaultIndexPacker(IncrementalHandler incrementalHandler)
protected Logger getLogger()
public void packIndex(IndexPackingRequest request) throws IOException, IllegalArgumentException
IndexPackerpackIndex in interface IndexPackerrequest - the request to process.IOException - on lethal IO problemIllegalArgumentException - when the targetDir already exists and is not a writable directory.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.