Class LVMJobHelper

java.lang.Object
com.sshtools.volman.lvm2.LVMJobHelper

public class LVMJobHelper extends Object
Some operations with LLVM2-DBUS return a 'Job' object that can be monitored for progress. This class helps manage that job monitoring, including updating progress callbacks and throwing exceptions on errors.
  • Constructor Details

    • LVMJobHelper

      public LVMJobHelper(Job job, org.freedesktop.dbus.connections.impl.DBusConnection bus) throws IOException
      Throws:
      IOException
  • Method Details

    • waitFor

      public org.freedesktop.dbus.DBusPath waitFor(com.sshtools.sequins.Progress progress) throws IOException
      Throws:
      IOException