//no disk, and memory is full.
this.lastException = CacheFullException.class;
this.lastMessage = "The maximum number of objects in the cache has been reached.";
return false;
}
boolean updated = diskCache.update(o);
if (!updated) {
this.lastException = CacheFullException.class;
this.lastMessage = "The maximum size for the diskCache has been reached.";
}
return updated;