org.apache.camel.impl
Class JavaUuidGenerator
java.lang.Object
org.apache.camel.impl.JavaUuidGenerator
- All Implemented Interfaces:
- UuidGenerator
public class JavaUuidGenerator
- extends Object
- implements UuidGenerator
This implementation uses the UUID from Java.
The implementation of UUID is synchronized and therefore
other UuidGenerator may be faster in high concurrent systems.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaUuidGenerator
public JavaUuidGenerator()
generateUuid
public String generateUuid()
- Description copied from interface:
UuidGenerator
- Generates a UUID string representation.
- Specified by:
generateUuid in interface UuidGenerator
- Returns:
- the unique id.
Apache CAMEL