org.mariadb.jdbc.internal.protocol
Class AsyncMultiRead
java.lang.Object
org.mariadb.jdbc.internal.protocol.AsyncMultiRead
- All Implemented Interfaces:
- Callable<AsyncMultiReadResult>
public class AsyncMultiRead
- extends Object
- implements Callable<AsyncMultiReadResult>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncMultiRead
public AsyncMultiRead(ComStmtPrepare comStmtPrepare,
BulkStatus status,
Protocol protocol,
boolean readPrepareStmtResult,
AbstractMultiSend bulkSend,
int paramCount,
Results results,
List<ParameterHolder[]> parametersList,
List<String> queries,
PrepareResult prepareResult)
- Read results async to avoid local and remote networking stack buffer overflow "lock".
- Parameters:
comStmtPrepare - current preparestatus - bulk statusprotocol - protocolreadPrepareStmtResult - must read prepare statement resultbulkSend - bulk sender objectparamCount - number of parametersresults - execution resultparametersList - parameter listqueries - queriesprepareResult - prepare result
call
public AsyncMultiReadResult call()
throws Exception
- Specified by:
call in interface Callable<AsyncMultiReadResult>
- Throws:
Exception
Copyright © 2017. All rights reserved.