Class Swap

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

  • Field Details

  • Constructor Details

    • Swap

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

    • create

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

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

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

      public List<UnitProcessType> getProcesses()
    • getCapabilityBoundingSet

      public BigInteger getCapabilityBoundingSet()
    • getControlPID

      public long getControlPID()
    • getDeviceAllow

      public List<DeviceAllowControl> getDeviceAllow()
    • getDevicePolicy

      public String getDevicePolicy()
    • getEnvironment

      public List<String> getEnvironment()
    • getEnvironmentFiles

      public List<EnvironmentFile> getEnvironmentFiles()
    • getExecActivate

      public List<ExecutionInfo> getExecActivate()
    • getExecDeactivate

      public List<ExecutionInfo> getExecDeactivate()
    • getFinalKillSignal

      public int getFinalKillSignal()
    • isIgnoreSIGPIPE

      public boolean isIgnoreSIGPIPE()
    • getInaccessiblePaths

      public List<String> getInaccessiblePaths()
    • getIOSchedulingClass

      public int getIOSchedulingClass()
    • getIOSchedulingPriority

      public int getIOSchedulingPriority()
    • getKillMode

      public String getKillMode()
    • getKillSignal

      public int getKillSignal()
    • getMountFlags

      public BigInteger getMountFlags()
    • getNice

      public int getNice()
    • isNoNewPrivileges

      public boolean isNoNewPrivileges()
    • isNonBlocking

      public boolean isNonBlocking()
    • getOOMScoreAdjust

      public int getOOMScoreAdjust()
    • getOptions

      public String getOptions()
    • getPAMName

      public String getPAMName()
    • getPriority

      public int getPriority()
    • getReadOnlyPaths

      public List<String> getReadOnlyPaths()
    • getReadWritePaths

      public List<String> getReadWritePaths()
    • getRestartKillSignal

      public int getRestartKillSignal()
    • getResult

      public String getResult()
    • getRootDirectory

      public String getRootDirectory()
    • isSameProcessGroup

      public boolean isSameProcessGroup()
    • getSecureBits

      public int getSecureBits()
    • isSendSIGHUP

      public boolean isSendSIGHUP()
    • isSendSIGKILL

      public boolean isSendSIGKILL()
    • getSlice

      public String getSlice()
    • getSupplementaryGroups

      public List<String> getSupplementaryGroups()
    • getSyslogIdentifier

      public String getSyslogIdentifier()
    • isSyslogLevelPrefix

      public boolean isSyslogLevelPrefix()
    • getSyslogPriority

      public int getSyslogPriority()
    • getSystemCallFilter

      public SystemCallFilter getSystemCallFilter()
    • getTTYPath

      public String getTTYPath()
    • isTTYReset

      public boolean isTTYReset()
    • isTTYVHangup

      public boolean isTTYVHangup()
    • isTTYVTDisallocate

      public boolean isTTYVTDisallocate()
    • getTimeoutUSec

      public BigInteger getTimeoutUSec()
    • getTimerSlackNSec

      public long getTimerSlackNSec()
    • getUMask

      public long getUMask()
    • getWatchdogSignal

      public int getWatchdogSignal()
    • getWhat

      public String getWhat()
    • getWorkingDirectory

      public String getWorkingDirectory()