public class TableIdQueue extends IdQueue
| Constructor and Description |
|---|
TableIdQueue(JdbcAdaptor jdbcAdaptor,
DataSource datasource,
ExecutorService idExecuter,
TableGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
protected Long |
getNextId()
Returns the next value from the database.
|
clear, contains, drainTo, drainTo, iterator, offer, offer, peek, poll, put, remainingCapacity, remove, size, take, toArray, toArray, toStringadd, addAll, element, removecontainsAll, isEmpty, removeAll, retainAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddaddAll, containsAll, equals, hashCode, isEmpty, removeAll, retainAllpublic TableIdQueue(JdbcAdaptor jdbcAdaptor, DataSource datasource, ExecutorService idExecuter, TableGenerator generator)
jdbcAdaptor - the JDBC adaptordatasource - the datasource to useidExecuter - the executor service to submit refill tasksgenerator - the table generatorprotected Long getNextId() throws SQLException
getNextId in class IdQueueSQLExceptionCopyright © 2012-2013 Batoo. All Rights Reserved.