An interface for the DBOpeners. More...
Public Member Functions | |
abstract SpaceTimeDataController | openDBAndCreateSTDC (IWorkbenchWindow window, IStatusLineManager statusMgr) throws IOException, InvalExperimentException, Exception |
This prepares the database for retrieving data and creates a SpaceTimeDataController from that data. | |
abstract void | end () |
An interface for the DBOpeners.
Specifically, it is implemented by RemoteDBOpener and LocalDBOpener. Its main purpose is to create a SpaceTimeDataController from the connection to the database (be it local or remote), but it also partially handles closing that connection.
Definition at line 22 of file AbstractDBOpener.java.
abstract void edu.rice.cs.hpc.traceviewer.db.AbstractDBOpener.end | ( | ) | [pure virtual] |
abstract SpaceTimeDataController edu.rice.cs.hpc.traceviewer.db.AbstractDBOpener.openDBAndCreateSTDC | ( | IWorkbenchWindow | window, | |
IStatusLineManager | statusMgr | |||
) | throws IOException, InvalExperimentException, Exception [pure virtual] |
This prepares the database for retrieving data and creates a SpaceTimeDataController from that data.
The local implementation (LocalDBOpener) should return a SpaceTimeDataControllerLocal while the remote implementation (RemoteDBOpener) should return a SpaceTimeDataControllerRemote.
window | ||
args | The command line arguments used to start the application | |
statusMgr |
IOException | ||
Exception | ||
InvalExperimentException |
Implemented in edu.rice.cs.hpc.traceviewer.db.remote.RemoteDBOpener.
Referenced by edu.rice.cs.hpc.traceviewer.db.TraceDatabase.openDatabase().