示例#1
0
 def startService(self):
     """
     Read the last document identifier from the backing file, and
     fill the cache with new identifiers.
     """
     Manager.startService(self)
     self._idstore = os.open(self._backingfile, os.O_RDWR | os.O_CREAT, 0600)
     self._refillcache()
     logger.debug("loaded %i entries into id cache" % self.cachesize)
示例#2
0
 def startService(self):
     """
     Read the last document identifier from the backing file, and
     fill the cache with new identifiers.
     """
     Manager.startService(self)
     self._idstore = os.open(self._backingfile, os.O_RDWR | os.O_CREAT,
                             0600)
     self._refillcache()
     logger.debug("loaded %i entries into id cache" % self.cachesize)
示例#3
0
 def startService(self):
     Manager.startService(self)
     for output in self._outputs.values():
         output.startService()
     for input in self._inputs.values():
         input.startService()
示例#4
0
文件: routes.py 项目: msfrank/terane
 def startService(self):
     Manager.startService(self)
     for output in self._outputs.values():
         output.startService()
     for input in self._inputs.values():
         input.startService()