本文整理汇总了Java中org.apache.ignite.internal.util.typedef.internal.U.readArray方法的典型用法代码示例。如果您正苦于以下问题:Java U.readArray方法的具体用法?Java U.readArray怎么用?Java U.readArray使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ignite.internal.util.typedef.internal.U
的用法示例。
在下文中一共展示了U.readArray方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
jobId = new HadoopJobId();
jobId.readExternal(in);
jobPhase = (HadoopJobPhase)in.readObject();
reducersAddrs = (HadoopProcessDescriptor[])U.readArray(in);
}
示例2: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
svcName = U.readString(in);
mtdName = U.readString(in);
argTypes = U.readClassArray(in);
args = U.readArray(in);
}
示例3: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
longVal = in.readLong();
Object[] arr = U.readArray(in);
longArr = Arrays.copyOf(arr, arr.length, Long[].class);
}
示例4: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
args = U.readArray(in);
}
示例5: readExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
cacheNames = U.readSet(in);
ttl = in.readLong();
ldrArgs = U.readArray(in);
}