Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckedBytesWrapperPool ¶
CheckedBytesWrapperPool allows users to wrap []byte which have been allocated by other libraries (e.g. thrift/t-channel) with a checked.Bytes abstraction. This is to ensure we reference count usage, and more importantly, can interop with the rest of the M3DB codebase (which requires checked.Bytes). NB: This pool doesn't require a Put method, as Finalizing the bytes returned from Get does the Put internally.
func NewCheckedBytesWrapperPool ¶
func NewCheckedBytesWrapperPool(popts pool.ObjectPoolOptions) CheckedBytesWrapperPool
NewCheckedBytesWrapperPool returns a new CheckedBytesWrapperPool with the defined size.
Click to show internal directories.
Click to hide internal directories.