Class SessionGenerator

java.lang.Object
com.luna.common.text.SessionGenerator

public class SessionGenerator extends Object
sessionId生成方式
  • Constructor Details

    • SessionGenerator

      public SessionGenerator()
  • Method Details

    • generateSessionId

      public static String generateSessionId()
      去掉UUID小号性能的算法,自定义一个不重复的sessionId生成器
      Returns:
    • main

      public static void main(String[] a)