def METHOD_NAME(self, request: MaintenanceRequest) -> MPResult:
    if request.command == MaintenanceCommand.SuspendMemPool:
        return self._mempool.suspend_processing()
    elif request.command == MaintenanceCommand.ResumeMemPool:
        return self._mempool.resume_processing()
    elif request.command == MaintenanceCommand.ReplicateRequests:
        repl_req = cast(ReplicationRequest, request)
        return self._replicator.replicate(repl_req.peers)
    elif request.command == MaintenanceCommand.ReplicateTxsBunch:
        mp_tx_bunch: ReplicationBunch = cast(ReplicationBunch, request)
        LOG.info(
            f"Got replication txs bunch, sender: {mp_tx_bunch.sender_addr}, "
            f"txs: {len(mp_tx_bunch.mp_tx_requests)}"
        )
        return self._replicator.on_mp_tx_bunch(mp_tx_bunch.sender_addr, mp_tx_bunch.mp_tx_requests)
    LOG.error(f"Failed to process maintenance mp_reqeust, unknown command: {request.command}")