Skip to content

Commit 6b5000f

Browse files
committed
rpc_util: add experimental notices to SharedBufferPool
1 parent a44c200 commit 6b5000f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

shared_buffer_pool.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,22 @@ package grpc
2121
import "sync"
2222

2323
// SharedBufferPool is a pool of buffers that can be shared.
24+
//
25+
// # Experimental
26+
//
27+
// Notice: This API is EXPERIMENTAL and may be changed or removed in a
28+
// later release.
2429
type SharedBufferPool interface {
2530
Get(length int) []byte
2631
Put(*[]byte)
2732
}
2833

2934
// NewSimpleSharedBufferPool creates a new SimpleSharedBufferPool.
35+
//
36+
// # Experimental
37+
//
38+
// Notice: This API is EXPERIMENTAL and may be changed or removed in a
39+
// later release.
3040
func NewSimpleSharedBufferPool() SharedBufferPool {
3141
return &simpleSharedBufferPool{
3242
Pool: sync.Pool{

0 commit comments

Comments
 (0)