本文整理汇总了Java中org.apache.ignite.internal.util.typedef.internal.U.readString方法的典型用法代码示例。如果您正苦于以下问题:Java U.readString方法的具体用法?Java U.readString怎么用?Java U.readString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ignite.internal.util.typedef.internal.U
的用法示例。
在下文中一共展示了U.readString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: readExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
host = U.readString(in);
port = in.readInt();
portRange = in.readInt();
maxOpenCursorsPerConn = in.readInt();
sockSndBufSize = in.readInt();
sockRcvBufSize = in.readInt();
tcpNoDelay = in.readBoolean();
threadPoolSize = in.readInt();
}
示例2: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
boolean b = in.readBoolean();
if (b) {
bytes = U.readByteArray(in);
cacheName = U.readString(in);
depInfo = (GridDeploymentInfo)in.readObject();
}
else
evt = (Event)in.readObject();
}
示例3: 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);
}
示例4: 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);
initSize = in.readLong();
maxSize = in.readLong();
swapFilePath = U.readString(in);
pageEvictionMode = DataPageEvictionMode.fromOrdinal(in.readByte());
evictionThreshold = in.readDouble();
emptyPagesPoolSize = in.readInt();
}
示例5: 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);
mode = CacheMode.fromOrdinal(in.readByte());
sys = in.readBoolean();
metrics = U.readMap(in);
minHeapSize = (Long)in.readObject();
avgHeapSize = (Double)in.readObject();
maxHeapSize = (Long)in.readObject();
minOffHeapSize = (Long)in.readObject();
avgOffHeapSize = (Double)in.readObject();
maxOffHeapSize = (Long)in.readObject();
minHits = (Long)in.readObject();
avgHits = (Double)in.readObject();
maxHits = (Long)in.readObject();
minMisses = (Long)in.readObject();
avgMisses = (Double)in.readObject();
maxMisses = (Long)in.readObject();
minReads = (Long)in.readObject();
avgReads = (Double)in.readObject();
maxReads = (Long)in.readObject();
minWrites = (Long)in.readObject();
avgWrites = (Double)in.readObject();
maxWrites = (Long)in.readObject();
minQryTime = (Long)in.readObject();
avgQryTime = (Double)in.readObject();
maxQryTime = (Long)in.readObject();
totalQryTime = (Long)in.readObject();
execsQry = (Integer)in.readObject();
failsQry = (Integer)in.readObject();
}
示例6: readExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
keyOrder = U.readString(in);
typeArg = (int[])in.readObject();
timeArg = (Long)in.readObject();
taskName = U.readString(in);
taskSesId = U.readGridUuid(in);
}
示例7: 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);
fields = U.readList(in);
descendings = U.readList(in);
unique = in.readBoolean();
}
示例8: 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);
}
示例9: readExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
order = in.readLong();
error = (VisorExceptionWrapper)in.readObject();
threadId = in.readLong();
threadName= U.readString(in);
time = in.readLong();
msg = U.readString(in);
}
示例10: 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);
mode = IgfsMode.fromOrdinal(in.readByte());
metrics = (VisorIgfsMetrics)in.readObject();
secondaryFsConfigured = in.readBoolean();
}
示例11: readExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
function = U.readString(in);
mapper = U.readString(in);
partitionedBackups = in.readInt();
partitions = in.readInt();
exclNeighbors = (Boolean)in.readObject();
}
示例12: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@SuppressWarnings("unchecked")
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
fetchSize = (Integer)in.readObject();
readConsistency = (ConsistencyLevel)in.readObject();
writeConsistency = (ConsistencyLevel)in.readObject();
user = U.readString(in);
pwd = U.readString(in);
port = (Integer)in.readObject();
contactPoints = (List<InetAddress>)in.readObject();
contactPointsWithPorts = (List<InetSocketAddress>)in.readObject();
maxSchemaAgreementWaitSeconds = (Integer)in.readObject();
protoVer = (Integer)in.readObject();
compression = U.readString(in);
useSSL = (Boolean)in.readObject();
collectMetrix = (Boolean)in.readObject();
jmxReporting = (Boolean)in.readObject();
creds = (Credentials)in.readObject();
loadBalancingPlc = (LoadBalancingPolicy)readObject(in);
reconnectionPlc = (ReconnectionPolicy)readObject(in);
addrTranslator = (AddressTranslator)readObject(in);
speculativeExecutionPlc = (SpeculativeExecutionPolicy)readObject(in);
authProvider = (AuthProvider)readObject(in);
sslOptions = (SSLOptions)readObject(in);
poolingOptions = (PoolingOptions)readObject(in);
sockOptions = (SocketOptions)readObject(in);
nettyOptions = (NettyOptions)readObject(in);
}
示例13: readExternal
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
key = U.readString(in);
terminalId = U.readString(in);
}
示例14: readExternalData
import org.apache.ignite.internal.util.typedef.internal.U; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException {
consistentId = U.readString(in);
attrs = U.readMap(in);
}
示例15: 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);
type = QueryIndexType.fromOrdinal(in.readByte());
fields = U.readList(in);
}