本文整理汇总了Java中org.apache.ignite.internal.util.typedef.internal.U.readGridUuid方法的典型用法代码示例。如果您正苦于以下问题:Java U.readGridUuid方法的具体用法?Java U.readGridUuid怎么用?Java U.readGridUuid使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ignite.internal.util.typedef.internal.U
的用法示例。
在下文中一共展示了U.readGridUuid方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
id = U.readGridUuid(in);
cap = in.readInt();
collocated = in.readBoolean();
head = in.readLong();
tail = in.readLong();
if (in.readBoolean()) {
int size = in.readInt();
rmvIdxs = new HashSet<>();
for (int i = 0; i < size; i++)
rmvIdxs.add(in.readLong());
}
}
示例2: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
clsLdrId = U.readGridUuid(in);
depMode = DeploymentMode.fromOrdinal(in.readByte());
userVer = U.readString(in);
locDepOwner = in.readBoolean();
participants = U.readMap(in);
}
示例3: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
// Uncomment if you would like to see raw serialization performance.
//uid = (GridUuid)in.readObject();
uid = U.readGridUuid(in);
}
示例4: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
accessTime = in.readLong();
modificationTime = in.readLong();
props = IgfsUtils.readProperties(in);
blockSize = in.readInt();
affKey = U.readGridUuid(in);
lockId = U.readGridUuid(in);
evictExclude = in.readBoolean();
len = in.readLong();
}
示例5: readExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
try (VisorDataTransferObjectInput dtin = new VisorDataTransferObjectInput(in)) {
super.readExternalData(dtin.readByte(), dtin);
}
taskName = U.readString(in);
taskClsName = U.readString(in);
taskSesId = U.readGridUuid(in);
jobId = U.readGridUuid(in);
}
示例6: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@SuppressWarnings("unchecked")
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
super.readExternal(in);
blockSize = in.readInt();
len = in.readLong();
lockId = U.readGridUuid(in);
affKey = U.readGridUuid(in);
fileMap = (IgfsFileMap)in.readObject();
evictExclude = in.readBoolean();
}
示例7: readExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
try (VisorDataTransferObjectInput dtin = new VisorDataTransferObjectInput(in)) {
super.readExternalData(dtin.readByte(), dtin);
}
taskName = U.readString(in);
taskClsName = U.readString(in);
taskSesId = U.readGridUuid(in);
internal = in.readBoolean();
}
示例8: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
ctx = (GridKernalContext)in.readObject();
jobId = U.readGridUuid(in);
attrs = U.readMap(in);
}
示例9: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
topic = fromOrdinal(in.readByte());
id1 = U.readGridUuid(in);
id2 = U.readUuid(in);
}
示例10: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
// Don't serialize node ID.
sesId = U.readGridUuid(in);
jobId = U.readGridUuid(in);
}
示例11: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
fileName = U.readString(in);
fileId = U.readGridUuid(in);
}
示例12: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
id = U.readGridUuid(in);
dir = in.readBoolean();
}
示例13: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
setId = U.readGridUuid(in);
collocated = in.readBoolean();
}
示例14: readExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
name = U.readString(in);
grpName = U.readString(in);
mode = CacheMode.fromOrdinal(in.readByte());
atomicityMode = CacheAtomicityMode.fromOrdinal(in.readByte());
eagerTtl = in.readBoolean();
writeSynchronizationMode = CacheWriteSynchronizationMode.fromOrdinal(in.readByte());
invalidate = in.readBoolean();
maxConcurrentAsyncOps = in.readInt();
interceptor = U.readString(in);
dfltLockTimeout = in.readLong();
affinityCfg = (VisorCacheAffinityConfiguration)in.readObject();
rebalanceCfg = (VisorCacheRebalanceConfiguration)in.readObject();
evictCfg = (VisorCacheEvictionConfiguration)in.readObject();
nearCfg = (VisorCacheNearConfiguration)in.readObject();
storeCfg = (VisorCacheStoreConfiguration)in.readObject();
qryEntities = U.readList(in);
jdbcTypes = U.readList(in);
statisticsEnabled = in.readBoolean();
mgmtEnabled = in.readBoolean();
ldrFactory = U.readString(in);
writerFactory = U.readString(in);
expiryPlcFactory = U.readString(in);
qryCfg = (VisorQueryConfiguration)in.readObject();
sys = in.readBoolean();
storeKeepBinary = in.readBoolean();
onheapCache = in.readBoolean();
partLossPlc = PartitionLossPolicy.fromOrdinal(in.readByte());
qryParallelism = in.readInt();
cpOnRead = in.readBoolean();
evictFilter = U.readString(in);
lsnrConfigurations = U.readString(in);
loadPrevVal = in.readBoolean();
dataRegName = U.readString(in);
sqlIdxMaxInlineSize = in.readInt();
nodeFilter = U.readString(in);
qryDetailMetricsSz = in.readInt();
readFromBackup = in.readBoolean();
tmLookupClsName = U.readString(in);
topValidator = U.readString(in);
dynamicDeploymentId = U.readGridUuid(in);
}
示例15: 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);
setId = U.readGridUuid(in);
topVer = (AffinityTopologyVersion)in.readObject();
}