Example usage for org.apache.ibatis.session ResultContext stop

List of usage examples for org.apache.ibatis.session ResultContext stop

Introduction

In this page you can find the example usage for org.apache.ibatis.session ResultContext stop.

Prototype

void stop();

Source Link

Usage

From source file:jp.terasoluna.fw.collector.db.QueueingResultHandlerImpl.java

License:Apache License

public void handleResult(ResultContext context) {
    delayCollect();//  w w w  .java2  s.co m
    if (Thread.currentThread().isInterrupted()) {
        // ?????
        if (verboseLog.get()) {
            LOGGER.trace(LogId.TAL041003);
        }
        context.stop();
        return;
    }
    this.prevRow = context.getResultObject();
}