File tree 3 files changed +0
-93
lines changed
src/main/java/com/rabbitmq/stream
3 files changed +0
-93
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -187,39 +187,6 @@ public interface EnvironmentBuilder {
187
187
*/
188
188
EnvironmentBuilder requestedMaxFrameSize (int requestedMaxFrameSize );
189
189
190
- /**
191
- * The Netty {@link EventLoopGroup} instance to use.
192
- *
193
- * <p>The environment uses its own instance by default. It is the developer's responsibility to
194
- * close the {@link EventLoopGroup} they provide.
195
- *
196
- * @param eventLoopGroup
197
- * @return this builder instance
198
- * @deprecated use {@link NettyConfiguration#eventLoopGroup(EventLoopGroup)} from {@link #netty()}
199
- * instead
200
- */
201
- EnvironmentBuilder eventLoopGroup (EventLoopGroup eventLoopGroup );
202
-
203
- /**
204
- * Netty's {@link io.netty.buffer.ByteBuf} allocator.
205
- *
206
- * @param byteBufAllocator
207
- * @return this builder instance
208
- * @deprecated use {@link NettyConfiguration#byteBufAllocator(ByteBufAllocator)} from {@link
209
- * #netty()} instead
210
- */
211
- EnvironmentBuilder byteBufAllocator (ByteBufAllocator byteBufAllocator );
212
-
213
- /**
214
- * An extension point to customize Netty's {@link io.netty.channel.Channel}s used for connection.
215
- *
216
- * @param channelCustomizer
217
- * @return this builder instance
218
- * @deprecated use {@link NettyConfiguration#channelCustomizer(Consumer)} from {@link #netty()}
219
- * instead
220
- */
221
- EnvironmentBuilder channelCustomizer (ChannelCustomizer channelCustomizer );
222
-
223
190
/**
224
191
* The checksum strategy used for chunk checksum.
225
192
*
Original file line number Diff line number Diff line change @@ -134,26 +134,12 @@ public EnvironmentBuilder compressionCodecFactory(
134
134
return this ;
135
135
}
136
136
137
- @ SuppressWarnings ("deprecation" )
138
- @ Override
139
- public EnvironmentBuilder eventLoopGroup (EventLoopGroup eventLoopGroup ) {
140
- this .netty ().eventLoopGroup (eventLoopGroup );
141
- return this ;
142
- }
143
-
144
137
@ Override
145
138
public EnvironmentBuilder id (String id ) {
146
139
this .id = id ;
147
140
return this ;
148
141
}
149
142
150
- @ SuppressWarnings ("deprecation" )
151
- @ Override
152
- public EnvironmentBuilder byteBufAllocator (ByteBufAllocator byteBufAllocator ) {
153
- this .netty ().byteBufAllocator (byteBufAllocator );
154
- return this ;
155
- }
156
-
157
143
@ Override
158
144
public EnvironmentBuilder rpcTimeout (Duration timeout ) {
159
145
this .clientParameters .rpcTimeout (timeout );
@@ -195,13 +181,6 @@ public StreamEnvironmentBuilder requestedMaxFrameSize(int requestedMaxFrameSize)
195
181
return this ;
196
182
}
197
183
198
- @ SuppressWarnings ("deprecation" )
199
- public StreamEnvironmentBuilder channelCustomizer (
200
- com .rabbitmq .stream .ChannelCustomizer channelCustomizer ) {
201
- this .netty ().channelCustomizer (ch -> channelCustomizer .customize (ch ));
202
- return this ;
203
- }
204
-
205
184
public StreamEnvironmentBuilder chunkChecksum (ChunkChecksum chunkChecksum ) {
206
185
this .clientParameters .chunkChecksum (chunkChecksum );
207
186
return this ;
You can’t perform that action at this time.
0 commit comments