A command cache handles the reuse of allocated packets for a node. More...
#include <commandCache.h>
Public Member Functions | |
| Command & | alloc (NodePtr node, NodePtr localNode, const uint64_t size) |
| void | flush () |
| Flush all allocated commands. | |
A command cache handles the reuse of allocated packets for a node.
Commands are retained and released whenever they are not directly processed, e.g., when pushed to another thread using a CommandQueue.
Definition at line 40 of file commandCache.h.
Definition at line 81 of file commandCache.cpp.
| void eq::net::CommandCache::flush | ( | ) |
Flush all allocated commands.
Definition at line 56 of file commandCache.cpp.
0.9.1 by
1.6.1