@Test public void should_get_next_sequence_with_increment_of_1() throws Exception { service.getNextSequence(BACKUP_LOG_SEQUENCE_ID); assertThat(getFirstSequenceInDb()).isEqualTo(1); }
public long getNextSequence(String sequenceId) throws ContentAddressableStorageDatabaseException { return getNextSequence(sequenceId, 1L); }
OfferSequenceDatabaseService { public long getNextSequence(String sequenceId) throws ContentAddressableStorageDatabaseException { return getNextSequence(sequenceId, 1L); } }
OfferSequenceDatabaseService { public long getNextSequence(String sequenceId) throws ContentAddressableStorageDatabaseException { return getNextSequence(sequenceId, 1L); } OfferSequenceDatabaseService(MongoCollection<Document> mongoCollection); }
OfferSequenceDatabaseService { public long getNextSequence(String sequenceId) throws ContentAddressableStorageDatabaseException { return getNextSequence(sequenceId, 1L); } OfferSequenceDatabaseService(MongoCollection<Document> mongoCollection); long getNextSequence(String sequenceId); long getNextSequence(String sequenceId, long inc); }
OfferSequenceDatabaseService { public long getNextSequence(String sequenceId) throws ContentAddressableStorageDatabaseException { return getNextSequence(sequenceId, 1L); } OfferSequenceDatabaseService(MongoCollection<Document> mongoCollection); long getNextSequence(String sequenceId); long getNextSequence(String sequenceId, long inc); static final String BACKUP_LOG_SEQUENCE_ID; }