示例#1
0
 def stopService(self):
     """
     Write back the last document identifier, and sync the backing
     file to disk.
     """
     self._writelast(self._idcache.pop(0))
     os.close(self._idstore)
     self._idstore = None
     self._idcache = []
     return Manager.stopService(self)
示例#2
0
 def stopService(self):
     """
     Write back the last document identifier, and sync the backing
     file to disk.
     """
     self._writelast(self._idcache.pop(0))
     os.close(self._idstore)
     self._idstore = None
     self._idcache = []
     return Manager.stopService(self)
示例#3
0
 def stopService(self):
     for input in self._inputs.values():
         input.stopService()
     for output in self._outputs.values():
         output.stopService()
     return Manager.stopService(self)
示例#4
0
文件: routes.py 项目: msfrank/terane
 def stopService(self):
     for input in self._inputs.values():
         input.stopService()
     for output in self._outputs.values():
         output.stopService()
     return Manager.stopService(self)