Class SharedHttpCacheStorage
java.lang.Object
org.eclipse.tycho.p2maven.transport.SharedHttpCacheStorage
- All Implemented Interfaces:
HttpCache
@Component(role=HttpCache.class)
public class SharedHttpCacheStorage
extends Object
implements HttpCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longAssumes the following minimum caching period for remote files in minutes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCacheEntry(URI uri, org.codehaus.plexus.logging.Logger logger) Fetches the cache entry for this URI
-
Field Details
-
MIN_CACHE_PERIOD
public static final long MIN_CACHE_PERIODAssumes the following minimum caching period for remote files in minutes
-
-
Constructor Details
-
SharedHttpCacheStorage
public SharedHttpCacheStorage()
-
-
Method Details
-
getCacheEntry
public CacheEntry getCacheEntry(URI uri, org.codehaus.plexus.logging.Logger logger) throws FileNotFoundException Fetches the cache entry for this URI- Specified by:
getCacheEntryin interfaceHttpCache- Parameters:
uri-- Returns:
- Throws:
FileNotFoundException- if the URI is know to be not found
-