List entries;
if(Util.isEmpty(filter)) entries=cache.entries();
else entries=cache.entries(new WildCardFilter(filter,false));
Iterator it = entries.iterator();
CacheEntry entry;
while(it.hasNext()){
entry=(CacheEntry) it.next();
sct.setEL(entry.getKey(), entry.getValue());
}
}
catch (Exception e) {e.printStackTrace();}
return sct;
}