Commit 75388d9
authored
Default to use netty bytebuf in network layer and remove getAndRelease method (#1375)
This pr includes two changes:
1. Default to use netty bytebuf in network layer, which will remove lots of code dealing with java bytebuffer
2. Remove getAndRelease and replace it with content method and implements ByteBufHolder interface.1 parent ab69ef2 commit 75388d9
File tree
51 files changed
+461
-705
lines changed- ambry-api/src/main/java/com.github.ambry
- config
- network
- ambry-messageformat/src
- main/java/com.github.ambry.messageformat
- test/java/com.github.ambry.messageformat
- ambry-network/src
- main/java/com.github.ambry.network
- test/java/com.github.ambry.network
- ambry-replication/src/main/java/com.github.ambry.replication
- ambry-rest/src/main/java/com.github.ambry.rest
- ambry-router/src
- main/java/com.github.ambry.router
- test/java/com.github.ambry.router
- ambry-server/src
- integration-test/java/com.github.ambry.server
- test/java/com.github.ambry.server
- ambry-tools/src/main/java/com.github.ambry
- store
- tools
- admin
- perf
- ambry-utils/src
- main/java/com.github.ambry.utils
- test/java/com.github.ambry.utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+461
-705
lines changedLines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | 122 | | |
133 | 123 | | |
134 | 124 | | |
| |||
147 | 137 | | |
148 | 138 | | |
149 | 139 | | |
150 | | - | |
151 | | - | |
152 | 140 | | |
153 | 141 | | |
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
| |||
440 | 439 | | |
441 | 440 | | |
442 | 441 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | 442 | | |
451 | 443 | | |
452 | 444 | | |
| |||
558 | 550 | | |
559 | 551 | | |
560 | 552 | | |
561 | | - | |
562 | 553 | | |
563 | 554 | | |
564 | 555 | | |
| |||
Lines changed: 0 additions & 95 deletions
This file was deleted.
Lines changed: 22 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | | - | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| |||
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
59 | | - | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| |||
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 108 | | |
122 | 109 | | |
123 | 110 | | |
124 | 111 | | |
125 | 112 | | |
126 | | - | |
127 | 113 | | |
128 | 114 | | |
129 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
130 | 126 | | |
Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
0 commit comments