com.alipay.remoting.util
Class IDGenerator

java.lang.Object
  extended by com.alipay.remoting.util.IDGenerator

public class IDGenerator
extends Object

IDGenerator is used for generating request id in integer form.


Constructor Summary
IDGenerator()
           
 
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
 

Constructor Detail

IDGenerator

public IDGenerator()
Method Detail

nextId

public static int nextId()
generate the next id

Returns:

resetId

public static void resetId()


Copyright © 2018. All rights reserved.