public class VcsHistoryCache
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VcsHistoryCache.CachedHistory |
Constructor and Description |
---|
VcsHistoryCache() |
Modifier and Type | Method and Description |
---|---|
void |
clearAnnotations() |
void |
clearHistory() |
void |
editCached(FilePath filePath,
VcsKey vcsKey,
Consumer<? super java.util.List<VcsFileRevision>> consumer) |
java.lang.Object |
getAnnotation(FilePath filePath,
VcsKey vcsKey,
VcsRevisionNumber number) |
<C extends java.io.Serializable,T extends VcsAbstractHistorySession> |
getFull(FilePath filePath,
VcsKey vcsKey,
VcsCacheableHistorySessionFactory<C,T> factory) |
<C extends java.io.Serializable,T extends VcsAbstractHistorySession> |
getMaybePartial(FilePath filePath,
VcsKey vcsKey,
VcsCacheableHistorySessionFactory<C,T> factory) |
<C extends java.io.Serializable,T extends VcsAbstractHistorySession> |
put(FilePath filePath,
FilePath correctedPath,
VcsKey vcsKey,
T session,
VcsCacheableHistorySessionFactory<C,T> factory,
boolean isFull) |
void |
putAnnotation(FilePath filePath,
VcsKey vcsKey,
VcsRevisionNumber number,
java.lang.Object vcsAnnotation) |
public <C extends java.io.Serializable,T extends VcsAbstractHistorySession> void put(FilePath filePath, FilePath correctedPath, VcsKey vcsKey, T session, VcsCacheableHistorySessionFactory<C,T> factory, boolean isFull)
public void editCached(FilePath filePath, VcsKey vcsKey, Consumer<? super java.util.List<VcsFileRevision>> consumer)
public <C extends java.io.Serializable,T extends VcsAbstractHistorySession> T getFull(FilePath filePath, VcsKey vcsKey, VcsCacheableHistorySessionFactory<C,T> factory)
public <C extends java.io.Serializable,T extends VcsAbstractHistorySession> T getMaybePartial(FilePath filePath, VcsKey vcsKey, VcsCacheableHistorySessionFactory<C,T> factory)
public void clearHistory()
public void putAnnotation(FilePath filePath, VcsKey vcsKey, VcsRevisionNumber number, java.lang.Object vcsAnnotation)
public java.lang.Object getAnnotation(FilePath filePath, VcsKey vcsKey, VcsRevisionNumber number)
public void clearAnnotations()