protected class TableJDBCSeq.AllocateSequenceRunnable extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
(package private) int |
alloc |
(package private) ClassMapping |
mapping |
(package private) TableJDBCSeq.Status |
stat |
(package private) JDBCStore |
store |
(package private) boolean |
updateStatSeq |
Constructor and Description |
---|
TableJDBCSeq.AllocateSequenceRunnable(JDBCStore store,
ClassMapping mapping,
TableJDBCSeq.Status stat,
int alloc,
boolean updateStatSeq) |
JDBCStore store
ClassMapping mapping
TableJDBCSeq.Status stat
int alloc
boolean updateStatSeq
TableJDBCSeq.AllocateSequenceRunnable(JDBCStore store, ClassMapping mapping, TableJDBCSeq.Status stat, int alloc, boolean updateStatSeq)
public void run() throws RuntimeException
run
in interface Runnable
RuntimeException
- any SQLExceptions that occur when obtaining the sequence
value are wrapped in a runtime exception to avoid
breaking the Runnable method signature. The caller can
obtain the "real" exception by calling getCause().Copyright © 2006–2015 Apache Software Foundation. All rights reserved.