premiere-libtorrent/docs/storage.diagram

32 lines
1.0 KiB
Plaintext
Raw Normal View History

2014-09-01 09:16:31 +02:00
+--------------------------+
| disk_io_thread |
| (manages piece cache) |
+--------------------------+
^
|
v
+--------------------------+
| piece_manager |
| (maps pieces to slots) |
+--------------------------+
^
|
v customization point
/--------------------------\ +------------------+
| storage |<---->| file_pool |
| cGRE | | open file cache |
| (maps slots to file and | +------------------+
| offset. reads and writes |
| to disk) | +------------------+
| |<-----+ file_storage |
\--------------------------/ | standard slot to |
^ | file mapping |
| +------------------+
v
+--------------------------+
| file |
| (file class reads and |
| writes files) |
+--------------------------+