Class CosIdGeneratorProperties

java.lang.Object
me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties

@ConfigurationProperties(prefix="cosid.generator") public class CosIdGeneratorProperties extends Object
  • Field Details

  • Constructor Details

    • CosIdGeneratorProperties

      public CosIdGeneratorProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getNamespace

      public String getNamespace()
    • setNamespace

      public void setNamespace(String namespace)
    • getMachineBit

      public int getMachineBit()
    • setMachineBit

      public void setMachineBit(int machineBit)
    • getTimestampBit

      public int getTimestampBit()
    • setTimestampBit

      public void setTimestampBit(int timestampBit)
    • getSequenceBit

      public int getSequenceBit()
    • setSequenceBit

      public void setSequenceBit(int sequenceBit)
    • getSequenceResetThreshold

      public int getSequenceResetThreshold()
    • setSequenceResetThreshold

      public void setSequenceResetThreshold(int sequenceResetThreshold)
    • getType

    • setType

      public void setType(CosIdGeneratorProperties.Type type)