com.zeroc.IceMX.ChildInvocationMetrics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice Show documentation
Show all versions of ice Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.9
//
//
//
// Generated from file `Metrics.ice'
//
// Warning: do not edit this file.
//
//
//
package com.zeroc.IceMX;
/**
* Provides information on child invocations. A child invocation is
* either remote (sent over an Ice connection) or collocated. An
* invocation can have multiple child invocation if it is
* retried. Child invocation metrics are embedded within
* {@link InvocationMetrics}.
**/
public class ChildInvocationMetrics extends Metrics
{
public ChildInvocationMetrics()
{
super();
this.size = 0L;
this.replySize = 0L;
}
public ChildInvocationMetrics(String id, long total, int current, long totalLifetime, int failures, long size, long replySize)
{
super(id, total, current, totalLifetime, failures);
this.size = size;
this.replySize = replySize;
}
/**
* The size of the invocation. This corresponds to the size of the
* marshalled input parameters.
**/
public long size;
/**
* The size of the invocation reply. This corresponds to the size
* of the marshalled output and return parameters.
**/
public long replySize;
public ChildInvocationMetrics clone()
{
return (ChildInvocationMetrics)super.clone();
}
public static String ice_staticId()
{
return "::IceMX::ChildInvocationMetrics";
}
@Override
public String ice_id()
{
return ice_staticId();
}
/** @hidden */
public static final long serialVersionUID = 2273731628554051433L;
/** @hidden */
@Override
protected void _iceWriteImpl(com.zeroc.Ice.OutputStream ostr_)
{
ostr_.startSlice(ice_staticId(), -1, false);
ostr_.writeLong(size);
ostr_.writeLong(replySize);
ostr_.endSlice();
super._iceWriteImpl(ostr_);
}
/** @hidden */
@Override
protected void _iceReadImpl(com.zeroc.Ice.InputStream istr_)
{
istr_.startSlice();
size = istr_.readLong();
replySize = istr_.readLong();
istr_.endSlice();
super._iceReadImpl(istr_);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy