@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.filterInfo != null) s |= HAS_FILTER_INFO; return s; }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.bridgeContext != null) s |= HAS_BRIDGE_CONTEXT; if (this.skipCallbacks) s |= SKIP_CALLBACKS; if (this.fetchFromHDFS) s |= FETCH_FROM_HDFS; if (this.isPutDML) s |= IS_PUT_DML; return s; }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.allowReadFromHDFS) s |= READ_FROM_HDFS; return s; }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.hasLoader) s |= HAS_LOADER; if (this.canStartTX) s |= CAN_START_TX; if (this.allowReadFromHDFS) s |= READ_FROM_HDFS; return s; }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.bridgeContext != null) s |= HAS_BRIDGE_CONTEXT; if (this.skipCallbacks) s |= SKIP_CALLBACKS; if (this.fetchFromHDFS) s |= FETCH_FROM_HDFS; if (this.isPutDML) s |= IS_PUT_DML; return s; }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.filterInfo != null) s |= HAS_FILTER_INFO; if (this.cacheWrite) s |= CACHE_WRITE; return s; }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.bridgeContext != null) s |= HAS_BRIDGE_CONTEXT; if (this.skipCallbacks) s |= SKIP_CALLBACKS; return s; }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.ifNew) s |= IF_NEW; if (this.ifOld) s |= IF_OLD; if (this.requireOldValue) s |= REQUIRED_OLD_VAL; if (this.expectedOldValue != null) s |= HAS_EXPECTED_OLD_VAL; if (this.filterInfo != null) { s |= HAS_FILTER_INFO; this.hasFilterInfo = true; } if (this.hasDelta) { s |= HAS_DELTA; if (this.bridgeContext != null) { // delta bytes sent by client to accessor or secondary data store // requires to set data policy explicitly to LAZY. this.deserializationPolicy = DistributedCacheOperation.DESERIALIZATION_POLICY_LAZY; } } if (this.versionTag != null) s |= HAS_VERSION_TAG; if (this.event.isPutDML()) s |= IS_PUT_DML; return s; }
@Override protected short computeCompressedShort(short s) { s = super.computeCompressedShort(s); if (this.ifNew) s |= IF_NEW; if (this.ifOld) s |= IF_OLD; if (this.requireOldValue) s |= REQUIRED_OLD_VAL; if (this.cacheWrite) s |= CACHE_WRITE; if (this.expectedOldValue != null) s |= HAS_EXPECTED_OLD_VAL; if (this.filterInfo != null) { s |= HAS_FILTER_INFO; this.hasFilterInfo = true; } if (this.hasDelta) { s |= HAS_DELTA; if (this.bridgeContext != null) { // delta bytes sent by client to accessor or secondary data store // requires to set data policy explicitly to LAZY. this.deserializationPolicy = DistributedCacheOperation.DESERIALIZATION_POLICY_LAZY; } } if (this.versionTag != null) s |= HAS_VERSION_TAG; if (this.event.isPutDML()) s |= IS_PUT_DML; return s; }