org.jmythapi.protocol.response.impl
Class FreeSpaceSummary
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<E>
org.jmythapi.protocol.response.impl.AFreeSpace<IFreeSpaceSummary.Props>
org.jmythapi.protocol.response.impl.FreeSpaceSummary
- All Implemented Interfaces:
- Cloneable, IPropertyAware<IFreeSpaceSummary.Props>, IVersionable, ISendable, IBasicFreeSpace, IFreeSpaceSummary, IMythResponse<IFreeSpaceSummary.Props>
public class FreeSpaceSummary
- extends AFreeSpace<IFreeSpaceSummary.Props>
- implements IFreeSpaceSummary
Methods inherited from class org.jmythapi.impl.AData |
clone, equals, getPropertyClass, getPropertyCount, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValueObject, getPropertyValues, getVersionNr, hashCode, init, postProcessArguments, setPropertyValue, setPropertyValue, setPropertyValueObject, toString |
Methods inherited from interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
FreeSpaceSummary
public FreeSpaceSummary(IMythPacket packet)
getTotalSpace
public Long getTotalSpace()
- Description copied from interface:
IBasicFreeSpace
- Gets the total space on file system.
- Specified by:
getTotalSpace
in interface IBasicFreeSpace
- Specified by:
getTotalSpace
in interface IFreeSpaceSummary
- Specified by:
getTotalSpace
in class AFreeSpace<IFreeSpaceSummary.Props>
- Returns:
- total space
- See Also:
IFreeSpaceSummary.Props.TOTAL_SPACE
getUsedSpace
public Long getUsedSpace()
- Description copied from interface:
IBasicFreeSpace
- Gets the used space on file system.
- Specified by:
getUsedSpace
in interface IBasicFreeSpace
- Specified by:
getUsedSpace
in interface IFreeSpaceSummary
- Specified by:
getUsedSpace
in class AFreeSpace<IFreeSpaceSummary.Props>
- Returns:
- used space
- See Also:
IFreeSpaceSummary.Props.USED_SPACE
Copyright © 2008-2013. All Rights Reserved.