@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 org.slf4j.Logger |
getLogger() |
void |
packIndex(IndexPackingRequest request)
Pack a context into a target directory.
|
@Inject public DefaultIndexPacker(IncrementalHandler incrementalHandler)
protected org.slf4j.Logger getLogger()
public void packIndex(IndexPackingRequest request) throws IOException, IllegalArgumentException
IndexPacker
packIndex
in interface IndexPacker
request
- the request to process.IOException
- on lethal IO problemIllegalArgumentException
- when the targetDir already exists and is not a writable directory.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.