NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
#include <AbstractBufferProvider.hpp>
Public Member Functions | |
virtual | ~AbstractBufferProvider () |
virtual void | destroy ()=0 |
virtual size_t | getAvailableBuffers () const =0 |
virtual BufferManagerType | getBufferManagerType () const =0 |
virtual size_t | getBufferSize () const =0 |
virtual size_t | getNumOfPooledBuffers () const =0 |
virtual size_t | getNumOfUnpooledBuffers () const =0 |
virtual TupleBuffer | getBufferBlocking ()=0 |
Provides a new TupleBuffer. This blocks until a buffer is available. More... | |
virtual std::optional< TupleBuffer > | getBufferNoBlocking ()=0 |
Returns a new TupleBuffer wrapped in an optional or an invalid option if there is no buffer. More... | |
virtual std::optional< TupleBuffer > | getBufferTimeout (std::chrono::milliseconds timeout_ms)=0 |
Returns a new Buffer wrapped in an optional or an invalid option if there is no buffer available within timeout_ms. More... | |
virtual std::optional< TupleBuffer > | getUnpooledBuffer (size_t bufferSize)=0 |
Returns an unpooled buffer of size bufferSize wrapped in an optional or an invalid option if an error occurs. More... | |
|
inlinevirtual |
|
pure virtual |
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::FixedSizeBufferPool, and NES::Runtime::BufferManager.
|
pure virtual |
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::FixedSizeBufferPool, and NES::Runtime::BufferManager.
|
pure virtual |
Provides a new TupleBuffer. This blocks until a buffer is available.
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::FixedSizeBufferPool, and NES::Runtime::BufferManager.
|
pure virtual |
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::FixedSizeBufferPool, and NES::Runtime::BufferManager.
|
pure virtual |
Returns a new TupleBuffer wrapped in an optional or an invalid option if there is no buffer.
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::FixedSizeBufferPool, and NES::Runtime::BufferManager.
|
pure virtual |
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::FixedSizeBufferPool, and NES::Runtime::BufferManager.
|
pure virtual |
Returns a new Buffer wrapped in an optional or an invalid option if there is no buffer available within timeout_ms.
timeout_ms | the amount of time to wait for a new buffer to be retuned |
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::BufferManager, and NES::Runtime::FixedSizeBufferPool.
|
pure virtual |
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::FixedSizeBufferPool, and NES::Runtime::BufferManager.
|
pure virtual |
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::FixedSizeBufferPool, and NES::Runtime::BufferManager.
|
pure virtual |
Returns an unpooled buffer of size bufferSize wrapped in an optional or an invalid option if an error occurs.
bufferSize |
Implemented in NES::Runtime::LocalBufferPool, NES::Runtime::FixedSizeBufferPool, and NES::Runtime::BufferManager.