com.espertech.esper.util
Class UuidGenerator

java.lang.Object
  extended by com.espertech.esper.util.UuidGenerator

public class UuidGenerator
extends java.lang.Object

Unique id generator based on Java 5 UUID, generates 36-character unique ids.


Constructor Summary
UuidGenerator()
           
 
Method Summary
static java.lang.String generate()
          Generates a 36-character alphanumeric value with dashes considering secure random id and timestamp backed by UUID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UuidGenerator

public UuidGenerator()
Method Detail

generate

public static java.lang.String generate()
Generates a 36-character alphanumeric value with dashes considering secure random id and timestamp backed by UUID.

Returns:
unique id string

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com