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 继承的方法 |
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.