def save_all_entries(self, dictionary):
    self.lock.acquire()
    file_handle = open(self.file_path, 'w')
    json.dump(dictionary, file_handle)
    file_handle.close()
    self.lock.release()
Get all flow.
dataset/ETHPy150Open AppScale/appscale/InfrastructureManager/utils/persistent_dictionary.py/FileSystemBasedPersistentStore.save_all_entries--crossover with--dataset/ETHPy150Open osrg/ryu/ryu/tests/switch/tester.py/OpenFlowSw.send_flow_stats