- All Known Implementing Classes:
IdGenerationConfig.UnavailableIdProvider,ReservedIdProvider
Deprecated.
An identity provider.
-
Method Summary
Modifier and TypeMethodDescriptionlongget()Deprecated.Provides the identity value.booleanDeprecated.Whether this provider can return the identity value.
-
Method Details
-
isAvailable
boolean isAvailable()Deprecated.Whether this provider can return the identity value.- Returns:
trueif 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 detectedUnsupportedOperationException- if this method is not supported
-