java.lang.Object
com.zeroc.IceGrid.LoadInfo
- All Implemented Interfaces:
Serializable,Cloneable
Information about the load of a node.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::LoadInfo.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static LoadInfoice_read(InputStream istr) Unmarshals aLoadInfofrom an input stream.ice_read(InputStream istr, int tag) Unmarshals an optionalLoadInfofrom an input stream.voidice_readMembers(InputStream istr) Unmarshals and sets this object's fields from an input stream.static voidice_write(OutputStream ostr, int tag, LoadInfo v) Marshals an optionalLoadInfointo an output stream.static voidice_write(OutputStream ostr, int tag, Optional<LoadInfo> v) Marshals an optionalLoadInfointo an output stream.static voidice_write(OutputStream ostr, LoadInfo v) Marshals aLoadInfointo an output stream.voidice_writeMembers(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
avg1
public float avg1The load average over the past minute. -
avg5
public float avg5The load average over the past 5 minutes. -
avg15
public float avg15The load average over the past 15 minutes.
-
-
Constructor Details
-
LoadInfo
public LoadInfo()Constructs aLoadInfo. -
LoadInfo
public LoadInfo(float avg1, float avg5, float avg15) Constructs aLoadInfowith values for all its fields.- Parameters:
avg1- The load average over the past minute.avg5- The load average over the past 5 minutes.avg15- The load average over the past 15 minutes.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
clone
-
ice_writeMembers
Marshals this object's fields into an output stream.- Parameters:
ostr- the output stream
-
ice_readMembers
Unmarshals and sets this object's fields from an input stream.- Parameters:
istr- the input stream
-
ice_write
Marshals aLoadInfointo an output stream.- Parameters:
ostr- the output streamv- theLoadInfoto marshal
-
ice_read
Unmarshals aLoadInfofrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
LoadInfo
-
ice_write
Marshals an optionalLoadInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalLoadInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalLoadInfofrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-