本文整理汇总了Java中org.apache.ignite.internal.util.typedef.internal.U.readCollection方法的典型用法代码示例。如果您正苦于以下问题:Java U.readCollection方法的具体用法?Java U.readCollection怎么用?Java U.readCollection使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ignite.internal.util.typedef.internal.U
的用法示例。
在下文中一共展示了U.readCollection方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
jobInfo = (HadoopJobInfo)in.readObject();
tasks = U.readCollection(in);
}
示例2: readValue
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readValue(ObjectInput in) throws IOException {
try {
evts = U.readCollection(in);
}
catch (ClassNotFoundException e) {
throw new IOException(e);
}
}
示例3: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
igfsName = U.readString(in);
paths = U.readCollection(in);
recRslvr = (IgfsRecordResolver)in.readObject();
skipNonExistentFiles = in.readBoolean();
maxRangeLen = in.readLong();
usrArg = (T)in.readObject();
}
示例4: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
tcpPort = in.readInt();
in.readInt(); // Jetty port.
String dfltCacheMode = U.readString(in);
attrs = U.readMap(in);
Map<String, String> cacheMap = U.readMap(in);
if (cacheMap == null && dfltCacheMode != null) {
cacheMap = U.newHashMap(1);
cacheMap.put(null, dfltCacheMode);
}
if (cacheMap != null) {
caches = new ArrayList<>(cacheMap.size());
for (Map.Entry<String, String> e : cacheMap.entrySet())
caches.add(new GridClientCacheBean(e.getKey(), GridClientCacheMode.valueOf(e.getValue()), null));
}
tcpAddrs = U.readCollection(in);
tcpHostNames = U.readCollection(in);
U.readCollection(in); // Jetty addresses.
U.readCollection(in); // Jetty host names.
nodeId = U.readUuid(in);
consistentId = in.readObject();
metrics = (GridClientNodeMetricsBean)in.readObject();
order = in.readLong();
}
示例5: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
last = in.readBoolean();
qryId = in.readLong();
items = U.readCollection(in);
fieldsMeta = U.readCollection(in);
}
示例6: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
cacheName = U.readString(in);
types = U.readCollection(in);
keyClasses = U.readMap(in);
valClasses = U.readMap(in);
fields = U.readMap(in);
indexes = U.readMap(in);
}
示例7: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
updates = U.readCollection(in);
}
示例8: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
nodeId = U.readUuid(in);
items = U.readCollection(in);
clientInfos = U.readMap(in);
}
示例9: 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.readCollection(in);
}
示例10: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException {
cacheName = U.readString(in);
keys = U.readCollection(in);
update = in.readBoolean();
plc = (ExpiryPolicy)in.readObject();
keepBinary = in.readBoolean();
}