@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); // RU_COMPAT_3_10 if (out.getVersion().isGreaterOrEqual(Versions.V3_11)) { out.writeBoolean(disableWanReplicationEvent); } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); // RU_COMPAT_3_10 if (out.getVersion().isGreaterOrEqual(Versions.V3_11)) { out.writeBoolean(disableWanReplicationEvent); } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); // RU_COMPAT_3_10 if (out.getVersion().isGreaterOrEqual(Versions.V3_11)) { out.writeBoolean(disableWanReplicationEvent); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { super.writeData(out); out.writeObject(value); if (out.getVersion().isGreaterOrEqual(EXPIRY_POLICY_VERSION)) { out.writeObject(expiryPolicy); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { super.writeData(out); out.writeData(value); if (out.getVersion().isGreaterOrEqual(EXPIRY_POLICY_VERSION)) { out.writeData(expiryPolicy); } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { out.writeUTF(engineName); out.writeUTF(script); if (out.getVersion().isUnknownOrLessThan(V3_10)) { out.writeInt(0); } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { out.writeUTF(engineName); out.writeUTF(script); if (out.getVersion().isUnknownOrLessThan(V3_10)) { out.writeInt(0); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { super.writeData(out); out.writeData(value); if (out.getVersion().isGreaterOrEqual(EXPIRY_POLICY_VERSION)) { out.writeData(expiryPolicy); } }
@Override protected void writeListenerConfigurations(ObjectDataOutput out) throws IOException { // RU_COMPAT_3_9 if (out.getVersion().isGreaterOrEqual(V3_10)) { out.writeInt(listenerConfigurations.size()); for (DeferredValue<CacheEntryListenerConfiguration<K, V>> config : listenerConfigurations) { out.writeData(config.getSerializedValue(out.getSerializationService())); } } else { super.writeListenerConfigurations(out); } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); entries.writeData(out); for (RecordInfo recordInfo : recordInfos) { recordInfo.writeData(out); } // RU_COMPAT_3_10 if (out.getVersion().isGreaterOrEqual(Versions.V3_11)) { out.writeBoolean(disableWanReplicationEvent); } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); entries.writeData(out); for (RecordInfo recordInfo : recordInfos) { recordInfo.writeData(out); } // RU_COMPAT_3_10 if (out.getVersion().isGreaterOrEqual(Versions.V3_11)) { out.writeBoolean(disableWanReplicationEvent); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeInt(poolSize); out.writeInt(durability); out.writeInt(capacity); // RU_COMPAT_3_9 if (out.getVersion().isGreaterOrEqual(Versions.V3_10)) { out.writeUTF(quorumName); } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); out.writeUTF(expectedMemberUuid); if (out.getVersion().isGreaterOrEqual(Versions.V3_12)) { out.writeObject(migration); out.writeInt(newPartitionStateVersion); } else { // RU_COMPAT_3_11 partitionState.writeData(out); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeInt(poolSize); out.writeInt(queueCapacity); out.writeBoolean(statisticsEnabled); // RU_COMPAT_3_9 if (out.getVersion().isGreaterOrEqual(Versions.V3_10)) { out.writeUTF(quorumName); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeInt(initialPermits); out.writeInt(backupCount); out.writeInt(asyncBackupCount); // RU_COMPAT_3_9 if (out.getVersion().isGreaterOrEqual(Versions.V3_10)) { out.writeUTF(quorumName); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeObject(value); out.writeLong(expirationTime); out.writeLong(creationTime); out.writeLong(lastAccessTime); out.writeLong(accessHit); if (out.getVersion().isGreaterOrEqual(EXPIRY_POLICY_VERSION)) { out.writeObject(expiryPolicy); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeInt(durability); out.writeInt(capacity); out.writeInt(poolSize); // RU_COMPAT_3_9 if (out.getVersion().isGreaterOrEqual(Versions.V3_10)) { out.writeUTF(quorumName); out.writeObject(mergePolicyConfig); } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { out.writeUTF(name); out.writeData(dataKey); out.writeLong(threadId); out.writeData(dataValue); out.writeLong(ttl); //RU_COMPAT_3_10 if (out.getVersion().isGreaterOrEqual(V3_11)) { out.writeLong(maxIdle); } }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeObject(value); out.writeLong(expirationTime); out.writeLong(creationTime); out.writeLong(lastAccessTime); out.writeLong(accessHit); if (out.getVersion().isGreaterOrEqual(EXPIRY_POLICY_VERSION)) { out.writeObject(expiryPolicy); } }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); out.writeObject(stateChange); initiator.writeData(out); out.writeUTF(txnId); out.writeLong(leaseTime); out.writeInt(partitionStateVersion); // RU_COMPAT_V3_10 if (out.getVersion().isGreaterOrEqual(Versions.V3_11)) { out.writeInt(memberListVersion); } }