Search in sources :

Example 11 with SQLJob

use of io.mycat.sqlengine.SQLJob in project Mycat-Server by MyCATApache.

the class PostgreSQLDetector method close.

public void close(String msg) {
    SQLJob curJob = sqlJob;
    if (curJob != null && !curJob.isFinished()) {
        curJob.teminate(msg);
        sqlJob = null;
    }
}
Also used : SQLJob(io.mycat.sqlengine.SQLJob)

Aggregations

SQLJob (io.mycat.sqlengine.SQLJob)11 OneRawSQLQueryResultHandler (io.mycat.sqlengine.OneRawSQLQueryResultHandler)7 Date (java.util.Date)3 PhysicalDBNode (io.mycat.backend.datasource.PhysicalDBNode)2 SchemaConfig (io.mycat.config.model.SchemaConfig)2 TableConfig (io.mycat.config.model.TableConfig)2 MySQLDataSource (io.mycat.backend.mysql.nio.MySQLDataSource)1 CoordinatorLogEntry (io.mycat.backend.mysql.xa.CoordinatorLogEntry)1 ParticipantLogEntry (io.mycat.backend.mysql.xa.ParticipantLogEntry)1 XARollbackCallback (io.mycat.backend.mysql.xa.XARollbackCallback)1 PostgreSQLDataSource (io.mycat.backend.postgresql.PostgreSQLDataSource)1 LinkedList (java.util.LinkedList)1 List (java.util.List)1 ConcurrentHashMap (java.util.concurrent.ConcurrentHashMap)1