org.sonatype.aether.util
Class DefaultRepositoryCache
java.lang.Object
org.sonatype.aether.util.DefaultRepositoryCache
- All Implemented Interfaces:
- RepositoryCache
public class DefaultRepositoryCache
- extends Object
- implements RepositoryCache
A simplistic repository cache backed by a ConcurrentHashMap. The simplistic nature of this cache makes it
only suitable for use with short-lived repository system sessions.
- Author:
- Benjamin Bentmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRepositoryCache
public DefaultRepositoryCache()
get
public Object get(RepositorySystemSession session,
Object key)
- Specified by:
get in interface RepositoryCache
put
public void put(RepositorySystemSession session,
Object key,
Object data)
- Specified by:
put in interface RepositoryCache
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.