コード例 #1
0
ファイル: __init__.py プロジェクト: DSDev-NickHogle/terane
 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
ファイル: __init__.py プロジェクト: msfrank/terane
 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
ファイル: routes.py プロジェクト: DSDev-NickHogle/terane
 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()