Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/Buffers.java @ 1011:4e7208df7741
remove PooledBuffers
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 23 Oct 2016 23:59:08 -0600 |
parents | 58a9c4a42292 |
children | 8c13b9224cff |
comparison
equal
deleted
inserted
replaced
1010:2712133d5bce | 1011:4e7208df7741 |
---|---|
26 * is supported, but these terms have no absolute meaning and must be determined by context. | 26 * is supported, but these terms have no absolute meaning and must be determined by context. |
27 * | 27 * |
28 */ | 28 */ |
29 public interface Buffers | 29 public interface Buffers |
30 { | 30 { |
31 enum Type { DIRECT, INDIRECT } ; | 31 Buffer getHeader(); |
32 | 32 Buffer getBuffer(); |
33 Buffer getHeader(); | 33 Buffer getBuffer(int size); |
34 Buffer getBuffer(); | 34 |
35 Buffer getBuffer(int size); | 35 void returnBuffer(Buffer buffer); |
36 | |
37 void returnBuffer(Buffer buffer); | |
38 } | 36 } |