Interface VirtualPrintServiceMXBean


  • public interface VirtualPrintServiceMXBean
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void activate()
      Resumes the virtual printer, so that it starts accepting jobs.
      long getCanceled()
      Returns the amount of canceled jobs.
      long getCompleted()
      Returns the amount of completed jobs.
      long getFailed()
      Returns the amount of failed jobs.
      java.lang.String getName()
      Returns the name of the virtual printer.
      java.lang.String getPrinterState()
      Returns the current state of the virtual printer.
      int getRunning()
      Returns the amount of running jobs.
      void remove()
      Removes the current virtual printer
      void suspend()
      Suspends the virtual printer, so that it does no longer accepting jobs.
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of the virtual printer.
        Returns:
        virtual printer name
      • getPrinterState

        java.lang.String getPrinterState()
        Returns the current state of the virtual printer.
        Returns:
        current virtual printer name
      • getCanceled

        long getCanceled()
        Returns the amount of canceled jobs.
        Returns:
        total count of canceled jobs
      • getCompleted

        long getCompleted()
        Returns the amount of completed jobs.
        Returns:
        total count of completed jobs
      • getFailed

        long getFailed()
        Returns the amount of failed jobs.
        Returns:
        total count of failed jobs
      • getRunning

        int getRunning()
        Returns the amount of running jobs.
        Returns:
        total count of running jobs
      • suspend

        void suspend()
        Suspends the virtual printer, so that it does no longer accepting jobs.
      • activate

        void activate()
        Resumes the virtual printer, so that it starts accepting jobs.
      • remove

        void remove()
        Removes the current virtual printer