/** {@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; }
grpName = U.readString(in); mode = CacheMode.fromOrdinal(in.readByte()); atomicityMode = CacheAtomicityMode.fromOrdinal(in.readByte()); eagerTtl = in.readBoolean(); writeSynchronizationMode = CacheWriteSynchronizationMode.fromOrdinal(in.readByte());
.setAtomicityMode(CacheAtomicityMode.fromOrdinal(reader.readInt())) .setBackups(reader.readInt()) .setCacheMode(CacheMode.fromOrdinal(reader.readInt()))
ccfg.setAtomicityMode(CacheAtomicityMode.fromOrdinal(in.readInt())); ccfg.setBackups(in.readInt()); ccfg.setCacheMode(CacheMode.fromOrdinal(in.readInt()));
cfg.setAtomicityMode(CacheAtomicityMode.fromOrdinal(reader.readInt())); break;
/** {@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; }
grpName = U.readString(in); mode = CacheMode.fromOrdinal(in.readByte()); atomicityMode = CacheAtomicityMode.fromOrdinal(in.readByte()); eagerTtl = in.readBoolean(); writeSynchronizationMode = CacheWriteSynchronizationMode.fromOrdinal(in.readByte());
.setAtomicityMode(CacheAtomicityMode.fromOrdinal(reader.readInt())) .setBackups(reader.readInt()) .setCacheMode(CacheMode.fromOrdinal(reader.readInt()))
ccfg.setAtomicityMode(CacheAtomicityMode.fromOrdinal(in.readInt())); ccfg.setBackups(in.readInt()); ccfg.setCacheMode(CacheMode.fromOrdinal(in.readInt()));
cfg.setAtomicityMode(CacheAtomicityMode.fromOrdinal(reader.readInt())); break;