@FunctionalInterface public interface DownloadCacheFactory
DownloadCache
implementations.Modifier and Type | Method and Description |
---|---|
Optional<DownloadCache> |
create()
Returns a
DownloadCache instance. |
Optional<DownloadCache> create()
DownloadCache
instance. If the instance could not be instantiated (for example, because a
mandatory parameter was missing), then an empty Optional
should be returned.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.