Commit 2ed89c9
authored
Deprecate Stream-related API (#1195)
* Deprecate Stream-related API
Adds:
* TransportSettings abstract class
* NettyTransportSettings subclass of TransportSettings
* A new method on MongoClientSettings to configure TransportSettings
Deprecates:
* MongoClientSettings.Builder#streamFactoryFactory
* MongoClientSettings.getStreamFactoryFactory
* NettyStreamFactoryFactory
* NettyStreamFactory
* AsynchronousSocketChannelStreamFactory
* AsynchronousSocketChannelStreamFactoryFactory
* BufferProvider
* SocketStreamFactory
* Stream
* StreamFactory
* StreamFactoryFactory
* TlsChannelStreamFactoryFactory
JAVA-50511 parent deed10b commit 2ed89c9
File tree
52 files changed
+732
-29
lines changed- driver-core/src
- main/com/mongodb
- annotations
- connection
- netty
- internal/connection
- test
- functional/com/mongodb
- internal/connection
- unit/com/mongodb
- connection
- netty
- internal/connection
- driver-legacy/src/main/com/mongodb
- driver-reactive-streams/src
- main/com/mongodb/reactivestreams/client
- internal/crypt
- test/functional/com/mongodb/reactivestreams/client
- driver-scala/src/main/scala/org/mongodb/scala/connection
- driver-sync/src
- main/com/mongodb/client/internal
- test/functional/com/mongodb/client
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
52 files changed
+732
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
Lines changed: 46 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
209 | 212 | | |
210 | 213 | | |
211 | 214 | | |
| 215 | + | |
212 | 216 | | |
213 | 217 | | |
214 | 218 | | |
| |||
252 | 256 | | |
253 | 257 | | |
254 | 258 | | |
| 259 | + | |
255 | 260 | | |
256 | 261 | | |
257 | 262 | | |
| |||
490 | 495 | | |
491 | 496 | | |
492 | 497 | | |
| 498 | + | |
493 | 499 | | |
| 500 | + | |
494 | 501 | | |
495 | 502 | | |
496 | 503 | | |
497 | 504 | | |
498 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
499 | 522 | | |
500 | 523 | | |
501 | 524 | | |
| |||
771 | 794 | | |
772 | 795 | | |
773 | 796 | | |
| 797 | + | |
774 | 798 | | |
| 799 | + | |
775 | 800 | | |
776 | 801 | | |
777 | 802 | | |
778 | 803 | | |
779 | 804 | | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
780 | 818 | | |
781 | 819 | | |
782 | 820 | | |
| |||
978 | 1016 | | |
979 | 1017 | | |
980 | 1018 | | |
| 1019 | + | |
981 | 1020 | | |
982 | 1021 | | |
983 | 1022 | | |
| |||
1000 | 1039 | | |
1001 | 1040 | | |
1002 | 1041 | | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1008 | 1047 | | |
1009 | 1048 | | |
1010 | 1049 | | |
| |||
1016 | 1055 | | |
1017 | 1056 | | |
1018 | 1057 | | |
| 1058 | + | |
1019 | 1059 | | |
1020 | 1060 | | |
1021 | 1061 | | |
| |||
1044 | 1084 | | |
1045 | 1085 | | |
1046 | 1086 | | |
| 1087 | + | |
1047 | 1088 | | |
1048 | 1089 | | |
1049 | 1090 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments