public interface RepositoryGroup extends Repository, RepositoryStorage
RepositoryStorage
to provide access to the merged
index data files and other metadata.Modifier and Type | Method and Description |
---|---|
boolean |
contains(ManagedRepository repository)
Returns true, if the given repository is part of this group.
|
boolean |
contains(String id)
Returns true, if the repository with the given id is part of this group.
|
int |
getMergedIndexTTL()
Returns the time to live in seconds for the merged index.
|
List<ManagedRepository> |
getRepositories()
Returns the list of repositories.
|
close, getCapabilities, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocalPath, getLocation, getName, getName, getSchedulingDefinition, getType, hasIndex, isOpen, isScanned, supportsFeature
registerEventHandler, unregisterEventHandler
addAsset, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, moveAsset, moveAsset, removeAsset, updateLocation, writeData, writeDataToChannel
List<ManagedRepository> getRepositories()
boolean contains(ManagedRepository repository)
repository
- The repository to check.boolean contains(String id)
id
- The repository id to checkint getMergedIndexTTL()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.