blob: 73d517fdb74f7c526fc76617e43d11bf897650b1 [file] [log] [blame]
Jonathan Hart627f10c2013-01-16 14:20:03 -08001package net.floodlightcontroller.core.internal;
2
3import java.util.Set;
4
5import com.thinkaurelius.titan.core.TitanGraph;
6import com.tinkerpop.blueprints.Vertex;
7import com.tinkerpop.blueprints.TransactionalGraph.Conclusion;
8
9/**
10 * Seam that allows me to set up a testable instance of SwitchStorageImpl that
11 * writes to a file database rather than a Cassandra cluster.
12 * It seems the init() API on SwitchStorageImpl might change so I won't rely
13 * on it yet.
14 *
15 * @author jono
16 *
17 */
18
19public class TestableSwitchStorageImpl extends SwitchStorageImpl {
20
Pankaj Berde15193092013-03-21 17:30:14 -070021 public TestableSwitchStorageImpl(){
Jonathan Hart627f10c2013-01-16 14:20:03 -080022 }
23
24 @Override
25 public void init(String conf){
Pankaj Berde15193092013-03-21 17:30:14 -070026
27 super.init(conf);
Jonathan Hart627f10c2013-01-16 14:20:03 -080028
29 }
30}