Class DiskSpace

java.lang.Object
com.perforce.p4java.impl.generic.admin.DiskSpace
All Implemented Interfaces:
IDiskSpace

public class DiskSpace extends Object implements IDiskSpace
Default implementation of the IDiskSpace interface.
  • Constructor Details

    • DiskSpace

      public DiskSpace(String location, long usedBytes, long freeBytes, long totalBytes, int percentageUsed, String fileSystemType)
      Instantiates a new disk space.
      Parameters:
      location - the location
      usedBytes - the used bytes
      freeBytes - the free bytes
      totalBytes - the total bytes
      percentageUsed - the percentage used
      fileSystemType - the file system type
    • DiskSpace

      public DiskSpace(Map<String,Object> map)
      Constructs a DiskSpace from the passed-in map; this map must have come from a Perforce IServer method call or it may fail. If map is null, equivalent to calling the default constructor.
      Parameters:
      map - the map
  • Method Details