Interface IDSource<T extends Serializable>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T nextID()
      Implementing classes are responsible for synchronization if concurrent invocations of this method are required.
    • Method Detail

      • nextID

        T nextID()
        Implementing classes are responsible for synchronization if concurrent invocations of this method are required.
        Returns:
        The next ID.
        Throws:
        IDSourceExhaustedException - If this ID source cannot generate any more unique IDs.