jet.events
Class EventIdGenerator

java.lang.Object
  extended by jet.events.EventIdGenerator

public class EventIdGenerator
extends java.lang.Object

Author:
Markus.Meisters@web.de

Field Summary
private static long id
           
private static java.util.concurrent.locks.ReentrantLock lock
           
 
Constructor Summary
EventIdGenerator()
           
 
Method Summary
static long getId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private static long id

lock

private static java.util.concurrent.locks.ReentrantLock lock
Constructor Detail

EventIdGenerator

public EventIdGenerator()
Method Detail

getId

public static long getId()