Pankaj Berde | 85016ab | 2013-06-21 11:34:53 -0700 | [diff] [blame^] | 1 | package net.onrc.onos.graph; |
2 | |||||
3 | import com.thinkaurelius.titan.core.TitanGraph; | ||||
4 | import com.tinkerpop.frames.FramedGraph; | ||||
5 | |||||
6 | public interface IDBConnection { | ||||
7 | public FramedGraph<TitanGraph> getFramedGraph(); | ||||
8 | public void addEventListener(final LocalGraphChangedListener listener); | ||||
9 | public Boolean isValid(); | ||||
10 | public void commit(); | ||||
11 | public void rollback(); | ||||
12 | public void close(); | ||||
13 | } |