org.apache.archiva.indexer.merger
Interface IndexMerger

All Known Implementing Classes:
DefaultIndexMerger

public interface IndexMerger

Since:
1.4-M2
Author:
Olivier Lamy

Field Summary
static String TMP_GROUP_INDEX_SYS_KEY
          system property which contains the value in s for ttl of temporary index groups
 
Method Summary
 org.apache.maven.index.context.IndexingContext buildMergedIndex(Collection<String> repositoriesIds, boolean packIndex)
           
 void cleanTemporaryGroupIndex(TemporaryGroupIndex temporaryGroupIndex)
           
 int getDefaultGroupIndexTtl()
           
 Collection<TemporaryGroupIndex> getTemporaryGroupIndexes()
           
 

Field Detail

TMP_GROUP_INDEX_SYS_KEY

static final String TMP_GROUP_INDEX_SYS_KEY
system property which contains the value in s for ttl of temporary index groups

See Also:
Constant Field Values
Method Detail

buildMergedIndex

org.apache.maven.index.context.IndexingContext buildMergedIndex(Collection<String> repositoriesIds,
                                                                boolean packIndex)
                                                                throws IndexMergerException
Parameters:
repositoriesIds - repositories Ids to merge content
packIndex - will generate a downloadable index
Returns:
a temporary directory with a merge index (directory marked deleteOnExit)
Throws:
IndexMergerException

cleanTemporaryGroupIndex

void cleanTemporaryGroupIndex(TemporaryGroupIndex temporaryGroupIndex)

getTemporaryGroupIndexes

Collection<TemporaryGroupIndex> getTemporaryGroupIndexes()

getDefaultGroupIndexTtl

int getDefaultGroupIndexTtl()
Returns:
ttl of temporay group index


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.