Class WXMStorageBackends

java.lang.Object
com.io7m.waxmill.machines.WXMStorageBackends

public final class WXMStorageBackends
extends java.lang.Object
Functions over storage backends.
  • Method Summary

    Modifier and Type Method Description
    static java.nio.file.Path determineZFSVolumePath​(java.nio.file.Path machineDirectory, java.util.UUID machineId, WXMDeviceSlot deviceID)
    Derive the ZFS volume device path for the given machine and device IDs.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • determineZFSVolumePath

      public static java.nio.file.Path determineZFSVolumePath​(java.nio.file.Path machineDirectory, java.util.UUID machineId, WXMDeviceSlot deviceID)
      Derive the ZFS volume device path for the given machine and device IDs.
      Parameters:
      machineId - The machine ID
      machineDirectory - The machine directory
      deviceID - The device ID
      Returns:
      The device path