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

org.diirt.datasource.timecache.PVCacheFactory Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
 * All rights reserved. Use is subject to license terms. See LICENSE.TXT
 */
package org.diirt.datasource.timecache;

import org.diirt.datasource.timecache.source.DataSourceFactory;
import org.diirt.datasource.timecache.storage.DataStorageFactory;
import org.diirt.vtype.VType;

/**
 * @author Fred Arnaud (Sopra Group) - ITER
 */
public class PVCacheFactory {

	public static  PVCache createPVCache(String channelName,
			Class type) {
		return new PVCacheImpl(channelName,
				DataSourceFactory.createSources(type),
				DataStorageFactory.createStorage(type));
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy