Package com.google.gerrit.server
Class Sequences
- java.lang.Object
-
- com.google.gerrit.server.Sequences
-
public class Sequences extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME_ACCOUNTS
static String
NAME_CHANGES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RepoSequence
getChangeIdRepoSequence()
static int
getChangeSequenceGap(org.eclipse.jgit.lib.Config cfg)
int
nextAccountId()
int
nextChangeId()
com.google.common.collect.ImmutableList<Integer>
nextChangeIds(int count)
-
-
-
Field Detail
-
NAME_ACCOUNTS
public static final String NAME_ACCOUNTS
- See Also:
- Constant Field Values
-
NAME_CHANGES
public static final String NAME_CHANGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChangeSequenceGap
public static int getChangeSequenceGap(org.eclipse.jgit.lib.Config cfg)
-
nextAccountId
public int nextAccountId() throws com.google.gwtorm.server.OrmException
- Throws:
com.google.gwtorm.server.OrmException
-
nextChangeId
public int nextChangeId() throws com.google.gwtorm.server.OrmException
- Throws:
com.google.gwtorm.server.OrmException
-
nextChangeIds
public com.google.common.collect.ImmutableList<Integer> nextChangeIds(int count) throws com.google.gwtorm.server.OrmException
- Throws:
com.google.gwtorm.server.OrmException
-
getChangeIdRepoSequence
public RepoSequence getChangeIdRepoSequence()
-
-