public class StalenessChecker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StalenessChecker.RefState |
static class |
StalenessChecker.RefStatePattern
Pattern for matching refs.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableSet<String> |
FIELDS |
Modifier and Type | Method and Description |
---|---|
boolean |
isStale(Change.Id id) |
static boolean |
isStale(GitRepositoryManager repoManager,
Change.Id id,
Change indexChange,
Change reviewDbChange,
com.google.common.collect.SetMultimap<Project.NameKey,StalenessChecker.RefState> states,
com.google.common.collect.ListMultimap<Project.NameKey,StalenessChecker.RefStatePattern> patterns) |
static com.google.common.collect.ListMultimap<Project.NameKey,StalenessChecker.RefStatePattern> |
parsePatterns(Iterable<byte[]> patterns) |
static com.google.common.collect.SetMultimap<Project.NameKey,StalenessChecker.RefState> |
parseStates(Iterable<byte[]> states) |
public static final com.google.common.collect.ImmutableSet<String> FIELDS
public boolean isStale(Change.Id id) throws IOException, com.google.gwtorm.server.OrmException
IOException
com.google.gwtorm.server.OrmException
public static boolean isStale(GitRepositoryManager repoManager, Change.Id id, Change indexChange, Change reviewDbChange, com.google.common.collect.SetMultimap<Project.NameKey,StalenessChecker.RefState> states, com.google.common.collect.ListMultimap<Project.NameKey,StalenessChecker.RefStatePattern> patterns)
public static com.google.common.collect.SetMultimap<Project.NameKey,StalenessChecker.RefState> parseStates(Iterable<byte[]> states)
public static com.google.common.collect.ListMultimap<Project.NameKey,StalenessChecker.RefStatePattern> parsePatterns(Iterable<byte[]> patterns)