org.jmythapi.protocol.response.impl
Class FreeSpace

java.lang.Object
  extended by org.jmythapi.impl.AData<E>
      extended by org.jmythapi.protocol.response.impl.AMythResponse<E>
          extended by org.jmythapi.protocol.response.impl.AFreeSpace<IFreeSpace.Props>
              extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.IFreeSpace
IFreeSpace.Props
 
Field Summary
 
Fields inherited from class org.jmythapi.impl.AData
logger, propsClass, protoVersion, respArgs
 
Constructor Summary
FreeSpace(IMythPacket packet)
          Deprecated.  
FreeSpace(ProtocolVersion protoVersion, long totalSizeMB, long usedSizeMB)
          Deprecated.  
 
Method Summary
 void addUsedSpace(long spaceDiff)
          Deprecated.  
 Long getTotalSpace()
          Deprecated. Gets the total space on file system.
 Long getUsedSpace()
          Deprecated. Gets the used space on file system.
 void setUsedSpace(long usedSpace)
          Deprecated.  
 
Methods inherited from class org.jmythapi.protocol.response.impl.AFreeSpace
getFreeSpace
 
Methods inherited from class org.jmythapi.protocol.response.impl.AMythResponse
checkSize, decodeProperty, encodeProperty, getExpectedSize, getPacket, getProperties, getProperty, getPropertyIndex
 
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 class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jmythapi.protocol.response.IBasicFreeSpace
getFreeSpace
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 
Methods inherited from interface org.jmythapi.IPropertyAware
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject
 

Constructor Detail

FreeSpace

public FreeSpace(IMythPacket packet)
Deprecated. 

FreeSpace

public FreeSpace(ProtocolVersion protoVersion,
                 long totalSizeMB,
                 long usedSizeMB)
Deprecated. 
Method Detail

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.