Interface IdProvider

All Known Implementing Classes:
IdGenerationConfig.UnavailableIdProvider, ReservedIdProvider

@Deprecated public interface IdProvider
Deprecated.
An identity provider.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    get()
    Deprecated.
    Provides the identity value.
    boolean
    Deprecated.
    Whether this provider can return the identity value.
  • Method Details

    • isAvailable

      boolean isAvailable()
      Deprecated.
      Whether this provider can return the identity value.
      Returns:
      true if this provider can return the identity value
    • get

      long get()
      Deprecated.
      Provides the identity value.
      Returns:
      the identity value
      Throws:
      IllegalStateException - if an illegal state is detected
      UnsupportedOperationException - if this method is not supported