public interface IdProvider
| Modifier and Type | Method and Description |
|---|---|
long |
get()
Provides the identity value.
|
boolean |
isAvailable()
Whether this provider can return the identity value.
|
boolean isAvailable()
true if this provider can return the identity valuelong get()
java.lang.IllegalStateException - if an illegal state is detectedjava.lang.UnsupportedOperationException - if this method is not supported