org.camunda.bpm.engine.impl.persistence
Class StrongUuidGenerator

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.StrongUuidGenerator
All Implemented Interfaces:
IdGenerator

public class StrongUuidGenerator
extends Object
implements IdGenerator

IdGenerator implementation based on the current time and the ethernet address of the machine it is running on.

Author:
Daniel Meyer

Field Summary
protected static com.fasterxml.uuid.impl.TimeBasedGenerator timeBasedGenerator
           
 
Constructor Summary
StrongUuidGenerator()
           
 
Method Summary
protected  void ensureGeneratorInitialized()
           
 String getNextId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeBasedGenerator

protected static com.fasterxml.uuid.impl.TimeBasedGenerator timeBasedGenerator
Constructor Detail

StrongUuidGenerator

public StrongUuidGenerator()
Method Detail

ensureGeneratorInitialized

protected void ensureGeneratorInitialized()

getNextId

public String getNextId()
Specified by:
getNextId in interface IdGenerator


Copyright © 2015 camunda services GmbH. All rights reserved.