Interface UuidProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UuidProvider
为 ADK 生成的 ID 提供新的、唯一的标识符。相关实现必须具备线程安全性(即多个线程同时调用时仍能正确处理),并且每次调用时都必须返回一个不同的值。具体配置方法如下: Runner.Builder.uuidProvider(UuidProvider).
  • 字段摘要

    Fields
    Modifier and Type
    Field
    Description
    static final UuidProvider
    该服务由以下机构提供支持: UUID.randomUUID().
  • 方法概述

    Modifier and Type
    Method
    Description
    返回一个新的、唯一的标识符。
  • 字段详情

  • 方法详细信息(Method Details)

    • newUuid

      String newUuid()
      返回一个新的、唯一的标识符。