Absorption in quantum electrodynamic cavities in terms of a quantum jump operator