/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { seqReserveSize = in.readInt(); cacheMode = CacheMode.fromOrdinal(in.readByte()); backups = in.readInt(); }
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { name = U.readString(in); dynamicDeploymentId = U.readGridUuid(in); mode = CacheMode.fromOrdinal(in.readByte()); memorySize = in.readLong(); indexesSize = in.readLong(); size = in.readLong(); nearSize = in.readInt(); primarySize = in.readLong(); backupSize = in.readLong(); partitions = in.readInt(); near = in.readBoolean(); metrics = (VisorCacheMetrics)in.readObject(); sys = protoVer > V1 ? in.readBoolean() : metrics != null && metrics.isSystem(); if (protoVer > V2) statisticsEnabled = in.readBoolean(); }
mode = CacheMode.fromOrdinal(in.readByte()); sys = in.readBoolean(); metrics = U.readMap(in);
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { seqName = U.readString(in); seqVal = in.readLong(); cacheName = U.readString(in); cacheId = in.readInt(); grpName = U.readString(in); grpId = in.readInt(); partitions = in.readInt(); mapped = in.readInt(); topVer = (AffinityTopologyVersion)in.readObject(); mode = CacheMode.fromOrdinal(in.readByte()); backupsCnt = in.readInt(); affinityClsName = U.readString(in); cachesCnt = in.readInt(); atomicityMode = protoVer >= V2 ? CacheAtomicityMode.fromOrdinal(in.readByte()) : null; }
mode = CacheMode.fromOrdinal(in.readByte()); sys = in.readBoolean(); size = in.readInt();
name = U.readString(in); grpName = U.readString(in); mode = CacheMode.fromOrdinal(in.readByte()); atomicityMode = CacheAtomicityMode.fromOrdinal(in.readByte()); eagerTtl = in.readBoolean();
.setAtomicityMode(CacheAtomicityMode.fromOrdinal(reader.readInt())) .setBackups(reader.readInt()) .setCacheMode(CacheMode.fromOrdinal(reader.readInt())) .setCopyOnRead(reader.readBoolean()) .setDataRegionName(reader.readString())
ccfg.setCacheMode(CacheMode.fromOrdinal(in.readInt())); ccfg.setCopyOnRead(in.readBoolean()); ccfg.setEagerTtl(in.readBoolean());
cfg.setCacheMode(CacheMode.fromOrdinal(reader.readInt())); break;
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { seqReserveSize = in.readInt(); cacheMode = CacheMode.fromOrdinal(in.readByte()); backups = in.readInt(); }
atomic.setCacheMode(CacheMode.fromOrdinal(in.readInt()));
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { name = U.readString(in); dynamicDeploymentId = U.readGridUuid(in); mode = CacheMode.fromOrdinal(in.readByte()); memorySize = in.readLong(); indexesSize = in.readLong(); size = in.readLong(); nearSize = in.readInt(); primarySize = in.readLong(); backupSize = in.readLong(); partitions = in.readInt(); near = in.readBoolean(); metrics = (VisorCacheMetrics)in.readObject(); sys = protoVer > V1 ? in.readBoolean() : metrics != null && metrics.isSystem(); }
mode = CacheMode.fromOrdinal(in.readByte()); sys = in.readBoolean(); metrics = U.readMap(in);
/** {@inheritDoc} */ @Override protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException { seqName = U.readString(in); seqVal = in.readLong(); cacheName = U.readString(in); cacheId = in.readInt(); grpName = U.readString(in); grpId = in.readInt(); partitions = in.readInt(); mapped = in.readInt(); topVer = (AffinityTopologyVersion)in.readObject(); mode = CacheMode.fromOrdinal(in.readByte()); backupsCnt = in.readInt(); affinityClsName = U.readString(in); cachesCnt = in.readInt(); atomicityMode = protoVer >= V2 ? CacheAtomicityMode.fromOrdinal(in.readByte()) : null; }
mode = CacheMode.fromOrdinal(in.readByte()); sys = in.readBoolean(); size = in.readInt();
name = U.readString(in); grpName = U.readString(in); mode = CacheMode.fromOrdinal(in.readByte()); atomicityMode = CacheAtomicityMode.fromOrdinal(in.readByte()); eagerTtl = in.readBoolean();
.setAtomicityMode(CacheAtomicityMode.fromOrdinal(reader.readInt())) .setBackups(reader.readInt()) .setCacheMode(CacheMode.fromOrdinal(reader.readInt())) .setCopyOnRead(reader.readBoolean()) .setDataRegionName(reader.readString())
ccfg.setCacheMode(CacheMode.fromOrdinal(in.readInt())); ccfg.setCopyOnRead(in.readBoolean()); ccfg.setEagerTtl(in.readBoolean());
cfg.setCacheMode(CacheMode.fromOrdinal(reader.readInt())); break;
atomic.setCacheMode(CacheMode.fromOrdinal(in.readInt()));