Package org.redisson.api
Interface IdGenerator
- All Known Implementing Classes:
RandomIdGenerator
public interface IdGenerator
Identifier generator
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionGenerates identifierstatic IdGenerator
random()
Returns random identifier generator.
-
Method Details
-
generateId
String generateId()Generates identifier- Returns:
- identifier
-
random
Returns random identifier generator. Used by default.- Returns:
- random identifier generator
-