org.jmythapi.protocol.response.impl
Class Load
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<ILoad.Props>
org.jmythapi.protocol.response.impl.Load
- All Implemented Interfaces:
- Cloneable, IPropertyAware<ILoad.Props>, IVersionable, ISendable, ILoad, IMythResponse<ILoad.Props>
public class Load
- extends AMythResponse<ILoad.Props>
- implements ILoad
Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.ILoad |
ILoad.Props |
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 |
Load
public Load(IMythPacket packet)
Load
public Load(ProtocolVersion protoVersion)
getCurrentLoad
public double getCurrentLoad()
- Description copied from interface:
ILoad
- Gets the current backend load.
- Specified by:
getCurrentLoad
in interface ILoad
- Returns:
- the current backend load
getLast5MinsLoad
public double getLast5MinsLoad()
- Description copied from interface:
ILoad
- Get the backend load average of the last 5 minutes.
- Specified by:
getLast5MinsLoad
in interface ILoad
- Returns:
- the load average of the last 5 minutes
getLast15MinsLoad
public double getLast15MinsLoad()
- Description copied from interface:
ILoad
- Gets the backend load average of the last 15 minutes.
- Specified by:
getLast15MinsLoad
in interface ILoad
- Returns:
- the load average of the last 15 minutes
Copyright © 2008-2013. All Rights Reserved.