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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java