com.alipay.remoting.util
Class IDGenerator
java.lang.Object
com.alipay.remoting.util.IDGenerator
public class IDGenerator
- extends Object
IDGenerator is used for generating request id in integer form.
|
Method Summary |
static int |
nextId()
generate the next id |
static void |
resetId()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDGenerator
public IDGenerator()
nextId
public static int nextId()
- generate the next id
- Returns:
resetId
public static void resetId()
Copyright © 2018. All rights reserved.