ensureOpen();
validateNotNull(key, value);
CacheProxyUtil.validateConfiguredTypes(cacheConfig, key, value);
final Data keyData = toData(key);
final Data valueData = toData(value);
CachePutIfAbsentRequest request = new CachePutIfAbsentRequest(nameWithPrefix, keyData, valueData, expiryPolicy,
cacheConfig.getInMemoryFormat());
ICompletableFuture<Boolean> future;
try {
future = invoke(request, keyData, withCompletionEvent);
if (cacheOnUpdate) {