public class JdbcRequestHandler extends Object implements ClientListenerRequestHandler
| Constructor and Description |
|---|
JdbcRequestHandler(GridKernalContext ctx,
GridSpinBusyLock busyLock,
ClientListenerResponseSender sender,
int maxCursors,
boolean distributedJoins,
boolean enforceJoinOrder,
boolean collocated,
boolean replicatedOnly,
boolean autoCloseCursors,
boolean lazy,
boolean skipReducerOnUpdate,
NestedTxMode nestedTxMode,
AuthorizationContext actx,
ClientListenerProtocolVersion protocolVer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ClientListenerResponse |
handle(ClientListenerRequest req0)
Handle request.
|
ClientListenerResponse |
handleException(Exception e,
ClientListenerRequest req)
Handle exception.
|
void |
onDisconnect()
Called whenever client is disconnected due to correct connection close
or due to
IOException during network operations. |
void |
writeHandshake(BinaryWriterExImpl writer)
Write successful handshake response.
|
public JdbcRequestHandler(GridKernalContext ctx, GridSpinBusyLock busyLock, ClientListenerResponseSender sender, int maxCursors, boolean distributedJoins, boolean enforceJoinOrder, boolean collocated, boolean replicatedOnly, boolean autoCloseCursors, boolean lazy, boolean skipReducerOnUpdate, NestedTxMode nestedTxMode, AuthorizationContext actx, ClientListenerProtocolVersion protocolVer)
ctx - Context.busyLock - Shutdown latch.sender - Results sender.maxCursors - Maximum allowed cursors.distributedJoins - Distributed joins flag.enforceJoinOrder - Enforce join order flag.collocated - Collocated flag.replicatedOnly - Replicated only flag.autoCloseCursors - Flag to automatically close server cursors.lazy - Lazy query execution flag.skipReducerOnUpdate - Skip reducer on update flag.actx - Authentication context.protocolVer - Protocol version.public ClientListenerResponse handle(ClientListenerRequest req0)
handle in interface ClientListenerRequestHandlerreq0 - Request.public ClientListenerResponse handleException(Exception e, ClientListenerRequest req)
handleException in interface ClientListenerRequestHandlere - Exception.req - Request.public void writeHandshake(BinaryWriterExImpl writer)
writeHandshake in interface ClientListenerRequestHandlerwriter - Binary writer.public void onDisconnect()
IOException during network operations.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019