tahamajs/OS / Files /past_terms /Operating-System-Course-Projects /2.Map-Reduce-Genre-Counter /src /genre_processor.hpp
| class GenreProcessor { | |
| public: | |
| GenreProcessor(const std::string& genre_name, Log log); | |
| void run(); | |
| ~GenreProcessor(); | |
| private: | |
| std::string genre_name_; | |
| int count_ = 0; | |
| NamedPipeClient genre_counter_pipe_; | |
| NamedPipeServer server_pipe_; | |
| Log log_; | |
| void updateCount(const std::string& new_count); | |
| void sendResult(); | |
| }; | |
Xet Storage Details
- Size:
- 509 Bytes
- Xet hash:
- cd475a5fdfb224c3949944570777f54e0c2c20bfc62f9e208a14fe610f630d1b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.