public class DirectoryCache extends Object
Beware that this cache is not transaction aware (which is not a problem for LDAP directories anyway).
Modifier and Type | Method and Description |
---|---|
DocumentModel |
getEntry(String entryId,
EntrySource source) |
DocumentModel |
getEntry(String entryId,
EntrySource source,
boolean fetchReferences) |
Cache |
getEntryCache() |
Cache |
getEntryCacheWithoutReferences() |
void |
invalidate(List<String> entryIds) |
void |
invalidate(String... entryIds) |
void |
invalidateAll() |
void |
setEntryCacheName(String entryCacheName) |
void |
setEntryCacheWithoutReferencesName(String entryCacheWithoutReferencesName) |
public DocumentModel getEntry(String entryId, EntrySource source) throws DirectoryException
DirectoryException
public DocumentModel getEntry(String entryId, EntrySource source, boolean fetchReferences) throws DirectoryException
DirectoryException
public void invalidate(String... entryIds)
public void invalidateAll()
public void setEntryCacheName(String entryCacheName)
public void setEntryCacheWithoutReferencesName(String entryCacheWithoutReferencesName)
public Cache getEntryCache()
public Cache getEntryCacheWithoutReferences()
Copyright © 2015 Nuxeo SA. All rights reserved.