public class RepositoryInfoCache extends Object implements Serializable
Constructor and Description |
---|
RepositoryInfoCache(BindingSession session)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RepositoryInfo |
get(String repositoryId)
Retrieves a repository info object from the cache.
|
void |
put(RepositoryInfo repositoryInfo)
Adds a repository info object to the cache.
|
void |
remove(String repositoryId)
Removes a repository info object from the cache.
|
String |
toString() |
public RepositoryInfoCache(BindingSession session)
session
- the session objectpublic void put(RepositoryInfo repositoryInfo)
repositoryInfo
- the repository info objectpublic RepositoryInfo get(String repositoryId)
repositoryId
- the repository idnull
if the object is
not in the cachepublic void remove(String repositoryId)
repositoryId
- the repository idCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.