You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use CompositeFrontendMessage to group multiple messages in a single TCP packet
Extended flow parse+flush,execute+flush, execute+close+sync, and bind+describe messages are now sent as single TCP packet to improve TCP efficiency.
[#138]
* Licensed under the Apache License, Version 2.0 (the "License");
5
+
* you may not use this file except in compliance with the License.
6
+
* You may obtain a copy of the License at
7
+
*
8
+
* https://www.apache.org/licenses/LICENSE-2.0
9
+
*
10
+
* Unless required by applicable law or agreed to in writing, software
11
+
* distributed under the License is distributed on an "AS IS" BASIS,
12
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+
* See the License for the specific language governing permissions and
14
+
* limitations under the License.
15
+
*/
16
+
17
+
packageio.r2dbc.postgresql.message.frontend;
18
+
19
+
importio.netty.buffer.ByteBuf;
20
+
importio.netty.buffer.ByteBufAllocator;
21
+
importorg.reactivestreams.Publisher;
22
+
importreactor.core.publisher.Mono;
23
+
24
+
importjava.util.Arrays;
25
+
importjava.util.List;
26
+
importjava.util.Objects;
27
+
28
+
/**
29
+
* {@link FrontendMessage} that aggregates {@link FrontendMessage}, specifically {@link DirectEncoder} messages to send multiple {@link FrontendMessage} in a single TCP packet.
0 commit comments