@Override
public <K extends Serializable, V extends Serializable> V write(K key, V value, long expiry) {
try {
return asyncWrite(key, value, expiry).get();
} catch (InterruptedException e) {
throw new DataGridException(e);
} catch (ExecutionException e) {
throw new DataGridException(e);
}
}