try {
Object returnValue = invokeNextInterceptor(ctx, command);
//if the cache entry has the value lock flag set, skip the remote get.
CacheEntry entry = ctx.lookupEntry(command.getKey());
boolean skipRemoteGet = entry != null && entry.skipLookup();
// need to check in the context as well since a null retval is not necessarily an indication of the entry not being
// available. It could just have been removed in the same tx beforehand. Also don't bother with a remote get if
// the entry is mapped to the local node.
if (!skipRemoteGet && returnValue == null && ctx.isOriginLocal()) {