def _setupFifos(self):
     createfifos.validateFifoExists(self._reclamationRequestFifoPath)
     logging.info("Waiting for Reclamation request fifo to be open for writing...")
     assert self._reclamationRequestFd is None
     self._reclamationRequestFd = os.open(self._reclamationRequestFifoPath, os.O_WRONLY)
     createfifos.validateFifoExists(self._softReclaimFailedMsgFifoPath)
     logging.info("Waiting for soft-reclaim-failed message pipe to open for writing...")
     assert self._softReclaimFailedFd is None
     self._softReclaimFailedFd = os.open(self._softReclaimFailedMsgFifoPath, os.O_RDONLY)
     logging.info("Fifos open.")
     self._notifyThreadReadFd, self._notifyThreadWriteFd = os.pipe()
 def _validateFifosExist(self):
     logger.info("Validating fifos exist.")
     fifos = (self._reclamationRequestFifoPath, self._softReclamationFailedMsgFifoPath)
     for fifo in fifos:
         createfifos.validateFifoExists(fifo)