com.activequant.utils
Class RequestIdGenerator
java.lang.Object
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
|
Method Summary |
static long |
next()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestIdGenerator
public RequestIdGenerator()
next
public static long next()
Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.