def METHOD_NAME(self, doId):
    assert self.checkCache()
    assert doId in self.dict
    # Look it up
    distObj = self.dict[doId]
    # Remove it from the dict and fifo
    del self.dict[doId]
    self.fifo.remove(distObj)
    # and delete it
    distObj.deleteOrDelay()
    if distObj.getDelayDeleteCount() <= 0:
        # make sure we're not leaking
        distObj.detectLeaks()