Class SequentialDssIdSupplier

  • All Implemented Interfaces:
    java.util.function.Supplier<java.lang.String>

    public class SequentialDssIdSupplier
    extends PrefixDssIdSupplier
    Generate Data Submission Session (DSS) IDs from a prefix and an increasing counter.
    • Constructor Summary

      Constructors 
      Constructor Description
      SequentialDssIdSupplier​(java.lang.String prefix)
      Create an instance that starts at 1.
      SequentialDssIdSupplier​(java.lang.String prefix, long counter)
      Create an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String postfix()  
      • Methods inherited from class java.lang.Object

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

      • SequentialDssIdSupplier

        public SequentialDssIdSupplier​(java.lang.String prefix)
        Create an instance that starts at 1.
        Parameters:
        prefix - The prefix for all generated DSS IDs
      • SequentialDssIdSupplier

        public SequentialDssIdSupplier​(java.lang.String prefix,
                                       long counter)
        Create an instance.
        Parameters:
        prefix - The prefix for all generated DSS IDs
        counter - Where to start counting