Class Scope

All Implemented Interfaces:
CpuAccounting, Feature, IoAccounting, IpAccounting, MemoryAccounting, ResourceControl, TasksAccounting, UnitStateNotifier, org.freedesktop.dbus.interfaces.DBusInterface

  • Field Details

  • Constructor Details

    • Scope

      private Scope(Manager manager, ScopeInterface iface, String name) throws org.freedesktop.dbus.exceptions.DBusException
      Throws:
      org.freedesktop.dbus.exceptions.DBusException
  • Method Details

    • create

      static Scope create(Manager manager, String name) throws org.freedesktop.dbus.exceptions.DBusException
      Throws:
      org.freedesktop.dbus.exceptions.DBusException
    • getInterface

      public ScopeInterface getInterface()
      Overrides:
      getInterface in class Unit
    • abandon

      public void abandon()
    • attachProcesses

      public void attachProcesses(String cgroupPath, long[] pids)
    • getProcesses

      public List<UnitProcessType> getProcesses()
    • getControlGroup

      public String getControlGroup()
    • getController

      public String getController()
    • getDeviceAllow

      public List<DeviceAllowControl> getDeviceAllow()
    • getDevicePolicy

      public String getDevicePolicy()
    • getFinalKillSignal

      public int getFinalKillSignal()
    • getKillMode

      public String getKillMode()
    • getKillSignal

      public int getKillSignal()
    • getRestartKillSignal

      public int getRestartKillSignal()
    • getResult

      public String getResult()
    • getRuntimeMaxUSec

      public BigInteger getRuntimeMaxUSec()
    • isSendSIGHUP

      public boolean isSendSIGHUP()
    • isSendSIGKILL

      public boolean isSendSIGKILL()
    • getSlice

      public String getSlice()
    • getTimeoutStopUSec

      public BigInteger getTimeoutStopUSec()
    • getWatchdogSignal

      public int getWatchdogSignal()