public class VcsAnnotationCachedProxy extends java.lang.Object implements AnnotationProvider, CacheableAnnotationProvider
| Constructor and Description |
|---|
VcsAnnotationCachedProxy(AbstractVcs vcs,
AnnotationProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
FileAnnotation |
annotate(VirtualFile file) |
FileAnnotation |
annotate(VirtualFile file,
VcsFileRevision revision) |
boolean |
isAnnotationValid(VcsFileRevision rev)
Check whether the annotation retrieval is valid (or possible) for the
particular file revision (or version in the repository).
|
void |
populateCache(VirtualFile file) |
public VcsAnnotationCachedProxy(AbstractVcs vcs, AnnotationProvider provider)
public FileAnnotation annotate(VirtualFile file) throws VcsException
annotate in interface AnnotationProviderVcsExceptionpublic FileAnnotation annotate(VirtualFile file, VcsFileRevision revision) throws VcsException
annotate in interface AnnotationProviderVcsExceptionpublic void populateCache(VirtualFile file) throws VcsException
populateCache in interface CacheableAnnotationProviderVcsExceptionpublic boolean isAnnotationValid(VcsFileRevision rev)
AnnotationProviderisAnnotationValid in interface AnnotationProviderrev - File revision to be checked.