org.springframework.util

## 类 AlternativeJdkIdGenerator

- java.lang.Object
- - org.springframework.util.AlternativeJdkIdGenerator

- 所有已实现的接口:
    IdGenerator

      public class AlternativeJdkIdGenerator
      extends Object
      implements IdGenerator

  An `IdGenerator` that uses `SecureRandom` for the initial seed and `Random` thereafter, instead of calling `UUID.randomUUID()` every time as `JdkIdGenerator` does. This provides a better balance between securely random ids and performance.
  从以下版本开始:
    4.0
  作者:
    Rossen Stoyanchev, Rob Winch

- - ### 构造器概要

    构造器
    构造器和说明
    `AlternativeJdkIdGenerator()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `UUID` | `generateId()` Generate a new identifier.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### AlternativeJdkIdGenerator

          public AlternativeJdkIdGenerator()

  - ### 方法详细资料

    - #### generateId

          public UUID generateId()

      从接口复制的说明: `IdGenerator`
      Generate a new identifier.
      指定者:
        `generateId` 在接口中 `IdGenerator`
      返回:
        the generated identifier