|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.client.bindings.impl.RepositoryInfoCache
public class RepositoryInfoCache
A cache for repository info objects.
Constructor Summary | |
---|---|
RepositoryInfoCache(BindingSession session)
Constructor. |
Method Summary | |
---|---|
RepositoryInfo |
get(java.lang.String repositoryId)
Retrieves a repository info object from the cache. |
void |
put(RepositoryInfo repositoryInfo)
Adds a repository info object to the cache. |
void |
remove(java.lang.String repositoryId)
Removes a repository info object from the cache. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepositoryInfoCache(BindingSession session)
session
- the session objectMethod Detail |
---|
public void put(RepositoryInfo repositoryInfo)
repositoryInfo
- the repository info objectpublic RepositoryInfo get(java.lang.String repositoryId)
repositoryId
- the repository id
null
if the object is
not in the cachepublic void remove(java.lang.String repositoryId)
repositoryId
- the repository idpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |