Package com.perforce.p4java.admin
Interface IDiskSpace
-
- All Known Implementing Classes:
DiskSpace
public interface IDiskSpace
Defines disk space information on the server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFileSystemType()
Gets the file system type (nfs, ext2, xfs, tmpfs, ramfs, ufs, reiserfs, or other).long
getFreeBytes()
Gets the free bytes.java.lang.String
getLocation()
Gets the location (Perforce filesystem: P4ROOT, P4JOURNAL, P4LOG, TEMP, or depot name)int
getPercentUsed()
Gets the percent used.long
getTotalBytes()
Gets the total bytes.long
getUsedBytes()
Gets the used bytes.
-
-
-
Method Detail
-
getLocation
java.lang.String getLocation()
Gets the location (Perforce filesystem: P4ROOT, P4JOURNAL, P4LOG, TEMP, or depot name)- Returns:
- the location
-
getUsedBytes
long getUsedBytes()
Gets the used bytes.- Returns:
- the used bytes
-
getFreeBytes
long getFreeBytes()
Gets the free bytes.- Returns:
- the free bytes
-
getTotalBytes
long getTotalBytes()
Gets the total bytes.- Returns:
- the total bytes
-
getPercentUsed
int getPercentUsed()
Gets the percent used.- Returns:
- the percent used
-
getFileSystemType
java.lang.String getFileSystemType()
Gets the file system type (nfs, ext2, xfs, tmpfs, ramfs, ufs, reiserfs, or other).- Returns:
- the file system type
-
-