
Public Member Functions | |
| NodeCache (Store store) | |
| Initializes a new instance of the object. | |
| void | Add (Collection collection, Node node) |
| Adds a node object to the cache. | |
| void | DumpCache () |
| Empties out the cache. | |
| void | DumpCache (string collectionID) |
| Removes all nodes from the specified collection from the cache. | |
| Node | Get (string collectionID, string nodeID) |
| Gets a node object from the cache table. | |
| void | Remove (string collectionID, string nodeID) |
| Removes a node object from the cache. | |
| Simias::Storage::NodeCache::NodeCache | ( | Store | store | ) | [inline] |
Initializes a new instance of the object.
| store | Reference to the store. |
| void Simias::Storage::NodeCache::Add | ( | Collection | collection, | |
| Node | node | |||
| ) | [inline] |
Adds a node object to the cache.
| collection | The collection that the node object belongs to. | |
| node | The node object to add to the cache. |
| void Simias::Storage::NodeCache::DumpCache | ( | ) | [inline] |
Empties out the cache.
| void Simias::Storage::NodeCache::DumpCache | ( | string | collectionID | ) | [inline] |
Removes all nodes from the specified collection from the cache.
| collectionID | The ID of the collection to remove. |
| Node Simias::Storage::NodeCache::Get | ( | string | collectionID, | |
| string | nodeID | |||
| ) | [inline] |
Gets a node object from the cache table.
| collectionID | The ID of the collection that the node belongs to. | |
| nodeID | The ID of the node object. |
| void Simias::Storage::NodeCache::Remove | ( | string | collectionID, | |
| string | nodeID | |||
| ) | [inline] |
Removes a node object from the cache.
| collectionID | The ID of the collection that the node belongs to. | |
| nodeID | The ID of the node object to remove from the cache. |
1.5.6