IdentifierProvider Interface
public interface IdentifierProvider
The IdentifierProvider to help generate distinct values.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
getRandomName(String prefix, int maxLen)
Gets a random name. |
abstract String |
getRandomUuid()
Gets a random UUID. |
Method Details
getRandomName
public abstract String getRandomName(String prefix, int maxLen)
Gets a random name.
Parameters:
prefix
- the prefix to be used if possible
maxLen
- the max length for the random generated name
Returns:
the random name
getRandomUuid
public abstract String getRandomUuid()
Gets a random UUID.
Returns:
the UUID string.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java