Package com.io7m.waxmill.machines
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.PathdetermineZFSVolumePath(java.nio.file.Path machineDirectory, java.util.UUID machineId, WXMDeviceSlot deviceID)Derive the ZFS volume device path for the given machine and device IDs.
-
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 IDmachineDirectory- The machine directorydeviceID- The device ID- Returns:
- The device path
-