All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anysoft.rrm.handler.Default Maven / Gradle / Ivy

There is a newer version: 1.6.17
Show newest version
package com.anysoft.rrm.handler;

import com.anysoft.rrm.RRData;
import com.anysoft.rrm.RRModelManager;
import com.anysoft.stream.AbstractHandler;
import com.anysoft.util.Properties;
import com.anysoft.util.Settings;
import org.w3c.dom.Element;

/**
 * 缺省处理
 * 
 * @since 1.6.12.32 [20190429] 
*/ public class Default extends AbstractHandler { protected RRModelManager rrmm = null; @Override protected void onHandle(RRData data, long timestamp) { if (rrmm == null){ rrmm = RRModelManager.get(); } if (rrmm != null) { rrmm.addModel(data, Settings.get()); } } @Override protected void onFlush(long timestamp) { } @Override protected void onConfigure(Element e, Properties p) { } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy