public class Sequences
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME_ACCOUNTS |
static java.lang.String |
NAME_CHANGES |
Modifier and Type | Method and Description |
---|---|
RepoSequence |
getChangeIdRepoSequence() |
static int |
getChangeSequenceGap(org.eclipse.jgit.lib.Config cfg) |
int |
nextAccountId() |
int |
nextChangeId() |
com.google.common.collect.ImmutableList<java.lang.Integer> |
nextChangeIds(int count) |
public static final java.lang.String NAME_ACCOUNTS
public static final java.lang.String NAME_CHANGES
public static int getChangeSequenceGap(org.eclipse.jgit.lib.Config cfg)
public int nextAccountId() throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public int nextChangeId() throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public com.google.common.collect.ImmutableList<java.lang.Integer> nextChangeIds(int count) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public RepoSequence getChangeIdRepoSequence()