protected void onFlushCache(FlushingModel model) throws CacheException {
EhCacheFlushingModel flushingModel = (EhCacheFlushingModel) model;
String[] cacheNames = flushingModel.getCacheNames();
if (!ObjectUtils.isEmpty(cacheNames)) {
CacheException cacheException = null;
int nameCount = cacheNames.length;
try {
for (int i = 0; i < nameCount; i++) {
Cache cache = getCache(cacheNames[i]);