|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.solaris.libzfs.ZFSPool
public final class ZFSPool
zpool, which is a storage abstraction.
| Method Summary | |
|---|---|
void |
disableDatasets(boolean force)
Disables datasets within a pool by unmounting/unsharing them all. |
void |
dispose()
|
void |
export(boolean force,
boolean hardForce)
Does "zpool export". |
protected void |
finalize()
|
long |
getAvailableSize()
Gets the remaining free space size of this pool in bytes. |
String |
getName()
|
String |
getProperty(zpool_prop_t prop)
|
long |
getSize()
Gets the total size of this pool in bytes. |
ZPoolStatus |
getStatus()
|
long |
getUsedSize()
Gets the size of this pool that's already used in bytes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getName()
public String getProperty(zpool_prop_t prop)
public ZPoolStatus getStatus()
public long getSize()
Because of the way libzfs report the size information (as strings like 1.2G), the precision of this information is low.
public long getAvailableSize()
Because of the way libzfs report the size information (as strings like 1.2G), the precision of this information is low.
public long getUsedSize()
Because of the way libzfs report the size information (as strings like 1.2G), the precision of this information is low.
public void disableDatasets(boolean force)
force - Not exactly sure what this does.
public void export(boolean force,
boolean hardForce)
public void dispose()
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||