public boolean isNull() { if (this.part == null) { return true; } if (isObject() && this.part instanceof byte[]) { byte[] b = (byte[]) this.part; if (b.length == 1 && b[0] == DSCODE.NULL.toByte()) { return true; } } return false; }
public Object getStringOrObject() throws IOException, ClassNotFoundException { if (isObject()) { return getObject(); } else { return getString(); } }
when(this.valuePart.isObject()).thenReturn(true); when(this.keyPart.getStringOrObject()).thenReturn(KEY);
when(this.valuePart.isObject()).thenReturn(true); when(this.keyPart.getStringOrObject()).thenReturn(KEY);
when(this.valuePart.isObject()).thenReturn(true);
if (valuePart.isObject()) {
handleMessageRetry(region, clientEvent); byte[] value = valuePart.getSerializedForm(); boolean isObject = valuePart.isObject(); handleMessageRetry(region, clientEvent); byte[] value = valuePart.getSerializedForm(); boolean isObject = valuePart.isObject(); AuthorizeRequest authzRequest = serverConnection.getAuthzRequest(); if (authzRequest != null) {
if (valuePart.isObject()) { value = CachedDeserializableFactory.create(valuePart.getSerializedForm(), region.getCache());
if (valuePart.isObject()) {
"Putting entry for region: {} key: {} create: {}{} callbackArgument: {} withInterest={} withCQs={} eventID={} version={}", regionName, key, isCreate, valuePart.isObject() ? new StringBuilder(" value: ").append(deserialize(valuePart.getSerializedForm())) : "", isValueObject = valuePart.isObject(); } else { deltaBytes = valuePart.getSerializedForm(); region.getCachePerfStats().incDeltaFullValuesRequested(); isValueObject = fullValuePart.isObject();
boolean isObject = valuePart.isObject();
value = valuePart.getSerializedForm(); boolean isObject = valuePart.isObject(); boolean isMetaRegion = region.isUsedForMetaRegion(); clientMessage.setMetaRegion(isMetaRegion);
value = valuePart.getSerializedForm(); boolean isObject = valuePart.isObject(); boolean isMetaRegion = region.isUsedForMetaRegion(); clientMessage.setMetaRegion(isMetaRegion);