当前位置: 首页>>代码示例>>Java>>正文


Java U.readString方法代码示例

本文整理汇总了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();
}
 
开发者ID:apache,项目名称:ignite,代码行数:12,代码来源:VisorSqlConnectorConfiguration.java

示例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();
}
 
开发者ID:apache,项目名称:ignite,代码行数:13,代码来源:GridEventConsumeHandler.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:GridCacheQueryManager.java

示例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();
}
 
开发者ID:apache,项目名称:ignite,代码行数:11,代码来源:VisorMemoryPolicyConfiguration.java

示例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();
}
 
开发者ID:apache,项目名称:ignite,代码行数:32,代码来源:VisorCacheAggregatedMetrics.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:VisorNodeEventsCollectorTaskArg.java

示例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();
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:VisorCacheSqlIndexMetadata.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:GridDeploymentInfoBean.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:10,代码来源:VisorSuppressedError.java

示例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();
}
 
开发者ID:apache,项目名称:ignite,代码行数:8,代码来源:VisorIgfs.java

示例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();
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:VisorCacheAffinityConfiguration.java

示例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);
}
 
开发者ID:epam,项目名称:Lagerta,代码行数:29,代码来源:DataSource.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:OptimizedMarshallerTest.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:VisorBaselineNode.java

示例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);
}
 
开发者ID:apache,项目名称:ignite,代码行数:7,代码来源:VisorQueryIndex.java


注:本文中的org.apache.ignite.internal.util.typedef.internal.U.readString方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。