Get a object from the cache by ID. @param id: The object ID. @type id: str @return: The object, else None @rtype: any
(self, id)
| 51 | raise Exception('not-implemented') |
| 52 | |
| 53 | def getf(self, id): |
| 54 | """ |
| 55 | Get a object from the cache by ID. |
| 56 | @param id: The object ID. |
| 57 | @type id: str |
| 58 | @return: The object, else None |
| 59 | @rtype: any |
| 60 | """ |
| 61 | raise Exception('not-implemented') |
| 62 | |
| 63 | def put(self, id, object): |
| 64 | """ |