/**
* @{inheritDoc}
*/
public synchronized void store(final Item item, final String alias) {
final String name = alias==null ? item.getName() : alias;
ConsolFun function = getConsolidationFunction(item);
RrdDb db = getDB(name, function);
if(db!=null) {
long now = System.currentTimeMillis()/1000;
if(function!=ConsolFun.AVERAGE) {
try {