Class SequenceGeneratorServiceImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.springframework.data.mongodb.core.MongoOperations mongoOperations  
    • Constructor Summary

      Constructors 
      Constructor Description
      SequenceGeneratorServiceImpl​(org.springframework.data.mongodb.core.MongoOperations mongoOperations)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long generateSequence​(java.lang.String seqName)
      This method generate a database sequence.
      void removeSequences()
      This method remove a database sequence.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mongoOperations

        private final org.springframework.data.mongodb.core.MongoOperations mongoOperations
    • Constructor Detail

      • SequenceGeneratorServiceImpl

        @Autowired
        public SequenceGeneratorServiceImpl​(org.springframework.data.mongodb.core.MongoOperations mongoOperations)