限定符和类型 | 字段和说明 |
---|---|
protected DatabaseMeta |
meta |
protected DataSource |
slaveDataSource |
构造器和说明 |
---|
NutDaoRunner() |
限定符和类型 | 方法和说明 |
---|---|
void |
_run(DataSource dataSource,
ConnCallback callback) |
void |
_runWithoutTransaction(DataSource dataSource,
ConnCallback callback) |
protected void |
_runWithTransaction(Transaction t,
DataSource dataSource,
ConnCallback callback) |
void |
run(DataSource dataSource,
ConnCallback callback) |
protected void |
runCallback(Connection conn,
ConnCallback callback) |
protected DataSource |
selectDataSource(Transaction t,
DataSource master,
ConnCallback callback) |
void |
setMeta(DatabaseMeta meta) |
void |
setSlaveDataSource(DataSource slaveDataSource) |
protected DataSource slaveDataSource
protected DatabaseMeta meta
public void run(DataSource dataSource, ConnCallback callback)
public void _run(DataSource dataSource, ConnCallback callback)
protected void _runWithTransaction(Transaction t, DataSource dataSource, ConnCallback callback)
public void _runWithoutTransaction(DataSource dataSource, ConnCallback callback)
protected void runCallback(Connection conn, ConnCallback callback) throws Exception
Exception
public void setMeta(DatabaseMeta meta)
public void setSlaveDataSource(DataSource slaveDataSource)
protected DataSource selectDataSource(Transaction t, DataSource master, ConnCallback callback)
Copyright © 2017. All rights reserved.