CacheProxyUtil.validateConfiguredTypes(cacheConfig, key, value);
final Data keyData = toData(key);
final Data valueData = toData(value);
InMemoryFormat inMemoryFormat = cacheConfig.getInMemoryFormat();
CachePutRequest request = new CachePutRequest(nameWithPrefix, keyData, valueData, expiryPolicy, isGet, inMemoryFormat);
ICompletableFuture future;
try {
future = invoke(request, keyData, withCompletionEvent);
if (cacheOnUpdate) {
storeInNearCache(keyData, valueData, value);
} else {