public class CommonZPOOLDetector extends java.lang.Object implements ZPOOLDetector
Modifier and Type | Class and Description |
---|---|
protected static class |
CommonZPOOLDetector.InfoType |
Constructor and Description |
---|
CommonZPOOLDetector(Host host) |
Modifier and Type | Method and Description |
---|---|
protected Pool |
addDeviceToPool(Pool pool,
ZFSDevice device) |
protected java.lang.String[] |
cleanSplit(java.lang.String line,
java.lang.String sep) |
java.util.Map<java.lang.String,ZPOOL> |
getPools() |
protected void |
handleConfig(java.lang.String line) |
protected void |
handlePoolName() |
protected ZFSDevice |
mapLabelToDevice(java.lang.String line) |
protected Pool |
mapLineToPool(Pool.Type type,
java.lang.String line) |
protected ZPOOL |
mapLineToZPool(java.lang.String line) |
void |
parse(java.io.BufferedReader reader) |
protected void |
saveAndResetContent() |
public CommonZPOOLDetector(Host host)
public java.util.Map<java.lang.String,ZPOOL> getPools()
getPools
in interface ZPOOLDetector
public void parse(java.io.BufferedReader reader)
parse
in interface de.javastream.javassh.parser.ProcessParser
protected void handlePoolName()
protected void saveAndResetContent()
protected void handleConfig(java.lang.String line)
protected ZFSDevice mapLabelToDevice(java.lang.String line)
protected ZPOOL mapLineToZPool(java.lang.String line)
protected java.lang.String[] cleanSplit(java.lang.String line, java.lang.String sep)
Copyright © 2025. All Rights Reserved.