Class Sequences

java.lang.Object
com.google.gerrit.server.Sequences

public class Sequences extends Object
  • Field Details

  • Constructor Details

    • Sequences

      @Inject public Sequences(com.google.gerrit.metrics.MetricMaker metrics, Sequence accountsSeq, Sequence groupsSeq, Sequence changesSeq)
  • Method Details

    • nextAccountId

      public int nextAccountId()
    • nextChangeId

      public int nextChangeId()
    • nextChangeIds

      public com.google.common.collect.ImmutableList<Integer> nextChangeIds(int count)
    • nextGroupId

      public int nextGroupId()
    • changeBatchSize

      public int changeBatchSize()
    • groupBatchSize

      public int groupBatchSize()
    • accountBatchSize

      public int accountBatchSize()
    • currentChangeId

      public int currentChangeId()
    • currentAccountId

      public int currentAccountId()
    • currentGroupId

      public int currentGroupId()
    • lastChangeId

      public int lastChangeId()
    • lastGroupId

      public int lastGroupId()
    • lastAccountId

      public int lastAccountId()
    • setChangeIdValue

      public void setChangeIdValue(int value)
    • setAccountIdValue

      public void setAccountIdValue(int value)
    • setGroupIdValue

      public void setGroupIdValue(int value)