com.activequant.utils
Class RequestIdGenerator

java.lang.Object
  extended by com.activequant.utils.RequestIdGenerator

public class RequestIdGenerator
extends Object

Very dumb request id generator. Thread safe through synchronized, spits out the next id.

Author:
ustaudinger

Constructor Summary
RequestIdGenerator()
           
 
Method Summary
static long next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestIdGenerator

public RequestIdGenerator()
Method Detail

next

public static long next()


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.