public class TimeBasedUUIDGenerator extends UUIDGenerator
Modifier and Type | Field and Description |
---|---|
protected long |
uuidSecondHalf |
protected UUIDTimeStamp |
uuidTimeStamp |
Constructor and Description |
---|
TimeBasedUUIDGenerator(UUIDTimeStamp timeStamp) |
Modifier and Type | Method and Description |
---|---|
UUID |
generate()
Method to include the logic to generate a specified uuid.
|
protected final long uuidSecondHalf
protected final UUIDTimeStamp uuidTimeStamp
public TimeBasedUUIDGenerator(UUIDTimeStamp timeStamp)
public UUID generate()
UUIDGenerator
generate
in class UUIDGenerator
Copyright © 2024 WSO2. All rights reserved.