Class LazyExecuteRequest
- java.lang.Object
-
- com.impossibl.postgres.protocol.v30.LazyExecuteRequest
-
- All Implemented Interfaces:
ServerRequest
public class LazyExecuteRequest extends Object implements ServerRequest
Generates a request to execute a prepared statement (usually "BEGIN"). Commands are not sync'd and errors/notices are passed to the following protocol handler. This allows it to prefix whatever command comes next without waiting for completion.
-
-
Constructor Summary
Constructors Constructor Description LazyExecuteRequest(String txnStatementName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.impossibl.postgres.protocol.v30.LazyExecuteRequest.Handler
createHandler()
void
execute(ProtocolChannel channel)
-
-
-
Constructor Detail
-
LazyExecuteRequest
public LazyExecuteRequest(String txnStatementName)
-
-
Method Detail
-
createHandler
public com.impossibl.postgres.protocol.v30.LazyExecuteRequest.Handler createHandler()
- Specified by:
createHandler
in interfaceServerRequest
-
execute
public void execute(ProtocolChannel channel) throws IOException
- Specified by:
execute
in interfaceServerRequest
- Throws:
IOException
-
-