org.tinygroup.dbrouter.impl.keygenerator
类 RouterKeyGeneratorLong

java.lang.Object
  继承者 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator<Long>
      继承者 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorLong
所有已实现的接口:
RouterKeyGenerator<Long>

public class RouterKeyGeneratorLong
extends AbstractRouterKeyGenerator<Long>

Created by luoguo on 13-12-13.


字段摘要
 
从类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 继承的字段
caches, DEFAULT_KEY_TABLE_NAME, END_NUMBER, router
 
构造方法摘要
RouterKeyGeneratorLong()
           
 
方法摘要
protected  Long generatorNextKey(Long currentNumber)
          获取下一个key值
 
从类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 继承的方法
createKeyTable, getDataSourceId, getIncrement, getKey, getKeyTableName, getStep, isAutoCreate, setAutoCreate, setDataSourceId, setIncrement, setKeyTableName, setRouter, setStep
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RouterKeyGeneratorLong

public RouterKeyGeneratorLong()
方法详细信息

generatorNextKey

protected Long generatorNextKey(Long currentNumber)
从类 AbstractRouterKeyGenerator 复制的描述
获取下一个key值

指定者:
AbstractRouterKeyGenerator<Long> 中的 generatorNextKey
返回:


Copyright © 2006–2015 TinyGroup. All rights reserved.