java.lang.Object
com.zeroc.IceMX.MetricsFailures
- All Implemented Interfaces:
Serializable
,Cloneable
Keeps track of metrics failures.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aMetricsFailures
.MetricsFailures
(String id, Map<String, Integer> failures) Constructs aMetricsFailures
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static MetricsFailures
ice_read
(InputStream istr) Unmarshals aMetricsFailures
from an input stream.static Optional<MetricsFailures>
ice_read
(InputStream istr, int tag) Unmarshals an optionalMetricsFailures
from an input stream.void
ice_readMembers
(InputStream istr) Unmarshals and sets this object's fields from an input stream.static void
ice_write
(OutputStream ostr, int tag, MetricsFailures v) Marshals an optionalMetricsFailures
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<MetricsFailures> v) Marshals an optionalMetricsFailures
into an output stream.static void
ice_write
(OutputStream ostr, MetricsFailures v) Marshals aMetricsFailures
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
id
The identifier of the metrics object associated to the failures. -
failures
The failures observed for this metrics.
-
-
Constructor Details
-
MetricsFailures
public MetricsFailures()Constructs aMetricsFailures
. -
MetricsFailures
Constructs aMetricsFailures
with values for all its fields.- Parameters:
id
- The identifier of the metrics object associated to the failures.failures
- The failures observed for this metrics.
-
-
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 aMetricsFailures
into an output stream.- Parameters:
ostr
- the output streamv
- theMetricsFailures
to marshal; can be null
-
ice_read
Unmarshals aMetricsFailures
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
MetricsFailures
-
ice_write
Marshals an optionalMetricsFailures
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalMetricsFailures
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalMetricsFailures
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-