@Override
public Representation update(Representation representation) throws YardException, IllegalArgumentException {
Yard yard = getCacheYard();
if (yard == null) {
throw new YardException(String.format("The Yard %s for this cache is currently not available", yardId));
} else {
return yard.update(applyCacheMappings(yard, representation));
}
}