class RocksDBOrderedSetStore implements CachingInternalPriorityQueueSet.OrderedSetStore<T> {

	@Nonnull
	@Override
	public RocksToJavaIteratorAdapter orderedIterator() {

		flushWriteBatch();
		return new RocksToJavaIteratorAdapter(
			new RocksIteratorWrapper(
				db.newIterator(columnFamilyHandle)));
	}

	public  RocksDBOrderedSetStore(
		@Nonnegative int keyGroupId,
		@Nonnegative int keyGroupPrefixBytes,
		@Nonnull RocksDB db,
		@Nonnull ColumnFamilyHandle columnFamilyHandle,
		@Nonnull TypeSerializer<T> byteOrderProducingSerializer,
		@Nonnull ByteArrayOutputStreamWithPos outputStream,
		@Nonnull DataOutputViewStreamWrapper outputView,
		@Nonnull RocksDBWriteBatchWrapper batchWrapper);

}