org.jmythapi.protocol.response.impl
Class FreeSpace
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<E>
org.jmythapi.protocol.response.impl.AFreeSpace<IFreeSpace.Props>
org.jmythapi.protocol.response.impl.FreeSpace
- All Implemented Interfaces:
- Cloneable, IPropertyAware<IFreeSpace.Props>, IVersionable, ISendable, IBasicFreeSpace, IFreeSpace, IMythResponse<IFreeSpace.Props>
Deprecated. 17
public class FreeSpace
- extends AFreeSpace<IFreeSpace.Props>
- implements IFreeSpace
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 |
FreeSpace
public FreeSpace(IMythPacket packet)
- Deprecated.
FreeSpace
public FreeSpace(ProtocolVersion protoVersion,
long totalSizeMB,
long usedSizeMB)
- Deprecated.
getTotalSpace
public Long getTotalSpace()
- Deprecated.
- Description copied from interface:
IBasicFreeSpace
- Gets the total space on file system.
- Specified by:
getTotalSpace
in interface IBasicFreeSpace
- Specified by:
getTotalSpace
in interface IFreeSpace
- Specified by:
getTotalSpace
in class AFreeSpace<IFreeSpace.Props>
- Returns:
- total space
- See Also:
IFreeSpace.Props.TOTAL_SPACE
getUsedSpace
public Long getUsedSpace()
- Deprecated.
- Description copied from interface:
IBasicFreeSpace
- Gets the used space on file system.
- Specified by:
getUsedSpace
in interface IBasicFreeSpace
- Specified by:
getUsedSpace
in interface IFreeSpace
- Specified by:
getUsedSpace
in class AFreeSpace<IFreeSpace.Props>
- Returns:
- used space
- See Also:
IFreeSpace.Props.USED_SPACE
addUsedSpace
public void addUsedSpace(long spaceDiff)
- Deprecated.
- Specified by:
addUsedSpace
in interface IFreeSpace
setUsedSpace
public void setUsedSpace(long usedSpace)
- Deprecated.
- Specified by:
setUsedSpace
in interface IFreeSpace
Copyright © 2008-2013. All Rights Reserved.