|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Namespaces | |
| detail | |
Classes | |
| class | NetworkStackIntegrationTest |
| class | TestSink |
| class | NetworkStackTest |
| class | DummyExchangeProtocolListener |
| class | ChannelId |
| class | ExchangeProtocol |
| This class is used by the ZmqServer and defines the reaction for events onDataBuffer, clientAnnouncement, endOfStream and exceptionHandling between all nodes of NES. More... | |
| class | ExchangeProtocolListener |
| Listener for network stack events. More... | |
| class | NetworkChannel |
| This class represent the network channel for data transfer that NES uses to send data among nodes. This class can send data and event packets. This class is not thread-safe. More... | |
| class | EventOnlyNetworkChannel |
| This class represent the network channel for event transfer that NES uses to send events among nodes. This class can send only event packets. This class is not thread-safe. More... | |
| class | NetworkManager |
| The NetworkManager manages creation and deletion of subpartition producer and consumer. More... | |
| class | NetworkSink |
| This represent a sink operator that acts as a connecting API between query processing and network stack. More... | |
| class | NetworkSource |
| this class provide a zmq as data source More... | |
| class | PartitionManager |
| this class keeps track of all ready partitions (and their subpartitions) It keeps track of the ref cnt for each partition and associated data emitter A data emitter is notified once there is data for its partition. Pinning a partition for a Consumer/Producer means increasing its reference counter to n: Consumer: there are n "listeners" that are to consume the data of a partition Producer: there are n "emitters" that are to produce the data for a partition When the reference counter reaches 0, it means that none requires a partition. More... | |
| class | ZmqServer |
| ZMQ server on hostname:port with numNetworkThreads i/o threads and a set of callbacks in exchangeProtocol. This class is not copyable. More... | |
| struct | VersionUpdate |
Typedefs | |
| using | PartitionManagerPtr = std::shared_ptr< PartitionManager > |
| using | NetworkSourcePtr = std::shared_ptr< NetworkSource > |
Enumerations | |
| enum class | PartitionRegistrationStatus : uint8_t { Registered , Deleted , NotFound } |
| This enum represent the life-cycle of a nes partition in the partition manager: NotFound: partition was never registered in the current partition manager. Deleted: partition was unregistered at some point in time (we keep it for bookkeeping). Registered: partition was registered and alive (meaning its ref cnt is greater than 0). More... | |
Functions | |
| void | fillBuffer (TupleBuffer &buf, const Runtime::MemoryLayouts::RowLayoutPtr &memoryLayout) |
| template<typename MockedNodeEngine , typename... ExtraParameters> | |
| std::shared_ptr< MockedNodeEngine > | createMockedEngine (const std::string &hostname, uint16_t port, uint64_t bufferSize, uint64_t numBuffers, ExtraParameters &&... extraParams) |
| TEST_P (NetworkStackIntegrationTest, testNetworkSourceSink) | |
| TEST_F (NetworkStackIntegrationTest, testQEPNetworkSinkSource) | |
| TEST_F (NetworkStackIntegrationTest, testSendEvent) | |
| TEST_F (NetworkStackIntegrationTest, DISABLED_testSendEventBackward) | |
| INSTANTIATE_TEST_CASE_P (NetworkStackIntegrationTestParam, NetworkStackIntegrationTest, ::testing::Values(false, true)) | |
| TEST_F (NetworkStackTest, serverMustStartAndStop) | |
| TEST_F (NetworkStackTest, serverMustStartAndStopRandomPort) | |
| TEST_F (NetworkStackTest, dispatcherMustStartAndStop) | |
| TEST_F (NetworkStackTest, startCloseChannel) | |
| TEST_F (NetworkStackTest, startCloseChannelAsyncIndefiniteRetries) | |
| TEST_F (NetworkStackTest, startCloseMaxChannel) | |
| TEST_F (NetworkStackTest, testSendData) | |
| TEST_F (NetworkStackTest, testCorrectHandlingEOS) | |
| TEST_F (NetworkStackTest, testMassiveSending) | |
| TEST_F (NetworkStackTest, testMassiveSendingWithChildrenBuffer) | |
| TEST_F (NetworkStackTest, testHandleUnregisteredBuffer) | |
| TEST_F (NetworkStackTest, testMassiveMultiSending) | |
| FORWARD_DECLARE_CLASS_UP (ZmqServer) | |
| FORWARD_DECLARE_CLASS_UP (NetworkChannel) | |
| FORWARD_DECLARE_CLASS_UP (EventOnlyNetworkChannel) | |
| FORWARD_DECLARE_CLASS_SP (NetworkSource) | |
| FORWARD_DECLARE_CLASS_SP (NetworkSink) | |
| FORWARD_DECLARE_CLASS_SP (NetworkManager) | |
| FORWARD_DECLARE_CLASS_SP (PartitionManager) | |
| template<typename MessageType , decltype(kZmqSendDefault) flags = kZmqSendDefault, typename... Arguments> | |
| void | sendMessage (zmq::socket_t &zmqSocket, Arguments &&... args) |
| template<typename MessageType , decltype(kZmqSendDefault) flags = kZmqSendDefault, typename... Arguments> | |
| void | sendMessageNoHeader (zmq::socket_t &zmqSocket, Arguments &&... args) |
| template<typename MessageType , typename... Arguments> | |
| void | sendMessageWithIdentity (zmq::socket_t &zmqSocket, zmq::message_t &zmqIdentity, Arguments &&... args) |
| using NES::Network::NetworkSourcePtr = typedef std::shared_ptr<NetworkSource> |
| using NES::Network::PartitionManagerPtr = typedef std::shared_ptr<PartitionManager> |
|
strong |
This enum represent the life-cycle of a nes partition in the partition manager: NotFound: partition was never registered in the current partition manager. Deleted: partition was unregistered at some point in time (we keep it for bookkeeping). Registered: partition was registered and alive (meaning its ref cnt is greater than 0).
| Enumerator | |
|---|---|
| Registered | a partition is registered, i.e., its counter is >= 0 |
| Deleted | a partition was registered but got deleted, i.e., its counter is == 0 |
| NotFound | a partition was never registered |
| std::shared_ptr<MockedNodeEngine> NES::Network::createMockedEngine | ( | const std::string & | hostname, |
| uint16_t | port, | ||
| uint64_t | bufferSize, | ||
| uint64_t | numBuffers, | ||
| ExtraParameters &&... | extraParams | ||
| ) |
References NES::bufferSize.
| void NES::Network::fillBuffer | ( | TupleBuffer & | buf, |
| const Runtime::MemoryLayouts::RowLayoutPtr & | memoryLayout | ||
| ) |
References NES::Runtime::TupleBuffer::setNumberOfTuples().
Referenced by TEST_F().
| NES::Network::FORWARD_DECLARE_CLASS_SP | ( | NetworkManager | ) |
| NES::Network::FORWARD_DECLARE_CLASS_SP | ( | NetworkSink | ) |
| NES::Network::FORWARD_DECLARE_CLASS_SP | ( | NetworkSource | ) |
| NES::Network::FORWARD_DECLARE_CLASS_SP | ( | PartitionManager | ) |
| NES::Network::FORWARD_DECLARE_CLASS_UP | ( | EventOnlyNetworkChannel | ) |
| NES::Network::FORWARD_DECLARE_CLASS_UP | ( | NetworkChannel | ) |
| NES::Network::FORWARD_DECLARE_CLASS_UP | ( | ZmqServer | ) |
| NES::Network::INSTANTIATE_TEST_CASE_P | ( | NetworkStackIntegrationTestParam | , |
| NetworkStackIntegrationTest | , | ||
| ::testing::Values(false, true) | |||
| ) |
| void NES::Network::sendMessage | ( | zmq::socket_t & | zmqSocket, |
| Arguments &&... | args | ||
| ) |
Send a message MessageType(args) through an open zmqSocket
| MessageType | |
| Arguments |
| zmqSocket | |
| args |
References NES_ASSERT2_FMT.
| void NES::Network::sendMessageNoHeader | ( | zmq::socket_t & | zmqSocket, |
| Arguments &&... | args | ||
| ) |
Send a message MessageType(args) through an open zmqSocket with no header
| MessageType | |
| Arguments |
| zmqSocket | |
| args |
References NES_ASSERT2_FMT.
| void NES::Network::sendMessageWithIdentity | ( | zmq::socket_t & | zmqSocket, |
| zmq::message_t & | zmqIdentity, | ||
| Arguments &&... | args | ||
| ) |
Send a zmqIdentity followed by a message MessageType(args) via zmqSocket
| MessageType | |
| Arguments |
| zmqSocket | |
| args |
References NES_ASSERT2_FMT.
| NES::Network::TEST_F | ( | NetworkStackIntegrationTest | , |
| DISABLED_testSendEventBackward | |||
| ) |
| NES::Network::TEST_F | ( | NetworkStackIntegrationTest | , |
| testQEPNetworkSinkSource | |||
| ) |
References NES::bufferSize, and NES::buffersManaged.
| NES::Network::TEST_F | ( | NetworkStackIntegrationTest | , |
| testSendEvent | |||
| ) |
References NES::bufferSize, and NES::buffersManaged.
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| dispatcherMustStartAndStop | |||
| ) |
References NES::bufferSize, and NES::buffersManaged.
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| serverMustStartAndStop | |||
| ) |
References NES::bufferSize, NES::buffersManaged, NES::Network::ZmqServer::isServerRunning(), and NES::Network::ZmqServer::start().
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| serverMustStartAndStopRandomPort | |||
| ) |
References NES::bufferSize, NES::buffersManaged, NES::Network::ZmqServer::getServerPort(), NES::Network::ZmqServer::isServerRunning(), and NES::Network::ZmqServer::start().
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| startCloseChannel | |||
| ) |
References NES::bufferSize, and NES::buffersManaged.
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| startCloseChannelAsyncIndefiniteRetries | |||
| ) |
References NES::bufferSize, and NES::buffersManaged.
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| startCloseMaxChannel | |||
| ) |
References NES::bufferSize, and NES::buffersManaged.
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| testCorrectHandlingEOS | |||
| ) |
References NES::bufferSize, NES::buffersManaged, NES::Runtime::TupleBuffer::getBuffer(), and NES::Runtime::TupleBuffer::getBufferSize().
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| testHandleUnregisteredBuffer | |||
| ) |
References NES::bufferSize, NES::buffersManaged, NES::Network::Messages::ErrorMessage::getErrorType(), and NES_INFO.
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| testMassiveMultiSending | |||
| ) |
References NES::bufferSize, NES::buffersManaged, NES::Runtime::TupleBuffer::getBuffer(), NES::Network::Messages::ExchangeMessage::getChannelId(), and NES::Network::ChannelId::getNesPartition().
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| testMassiveSending | |||
| ) |
References NES::bufferSize, NES::buffersManaged, NES::Runtime::TupleBuffer::getBuffer(), and NES::Runtime::TupleBuffer::getBufferSize().
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| testMassiveSendingWithChildrenBuffer | |||
| ) |
References NES::bufferSize, NES::buffersManaged, NES::Runtime::TupleBuffer::getBuffer(), NES::Runtime::TupleBuffer::getBufferSize(), NES::Runtime::TupleBuffer::getNumberOfTuples(), and NES::Runtime::TupleBuffer::loadChildBuffer().
| NES::Network::TEST_F | ( | NetworkStackTest | , |
| testSendData | |||
| ) |
References NES::bufferSize, NES::buffersManaged, and NES::Runtime::TupleBuffer::getBufferSize().
| NES::Network::TEST_P | ( | NetworkStackIntegrationTest | , |
| testNetworkSourceSink | |||
| ) |