blob: cd65ec0b383302455015e5a45947147a00cd0d0a [file] [log] [blame]
Pankaj Berde85016ab2013-06-21 11:34:53 -07001package net.onrc.onos.graph;
2
Pankaj Berde85016ab2013-06-21 11:34:53 -07003import com.tinkerpop.frames.FramedGraph;
4
5public interface IDBConnection {
yoshi2fd4c7e2013-11-22 15:47:55 -08006 public FramedGraph getFramedGraph();
7 public void addEventListener(final LocalGraphChangedListener listener);
8 public Boolean isValid();
9 public void commit();
10 public void rollback();
11 public void close();
Pankaj Berde85016ab2013-06-21 11:34:53 -070012}