protected class TableJDBCSeq.AllocateSequenceRunnable
extends java.lang.Object
implements java.lang.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) |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
This method actually obtains the current sequence value.
|
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 java.lang.RuntimeException
run in interface java.lang.Runnablejava.lang.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-2013 Apache Software Foundation. All Rights Reserved.