Class Slice

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

  • Field Details

  • Constructor Details

    • Slice

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

    • create

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

      public SliceInterface getInterface()
      Overrides:
      getInterface in class Unit
    • attachProcesses

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

      public List<UnitProcessType> getProcesses()
    • getControlGroup

      public String getControlGroup()
    • getDeviceAllow

      public List<DeviceAllowControl> getDeviceAllow()
    • getDevicePolicy

      public String getDevicePolicy()
    • getSlice

      public String getSlice()