org.topbraid.allegro.graphstore
Class AllegroGraphConnectionManager
java.lang.Object
org.topbraid.allegro.graphstore.AllegroGraphConnectionManager
public class AllegroGraphConnectionManager
- extends java.lang.Object
As a work-around to the maximum number of connections, this class manages the
currently open connections so that they can be reused among multiple graphs.
- Author:
- Holger Knublauch
|
Method Summary |
static com.franz.ag.AllegroGraphConnection |
getConnection(java.lang.String host,
int port,
boolean isNew)
|
static void |
perhapsDisable(com.franz.ag.AllegroGraphConnection connection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllegroGraphConnectionManager
public AllegroGraphConnectionManager()
getConnection
public static com.franz.ag.AllegroGraphConnection getConnection(java.lang.String host,
int port,
boolean isNew)
throws java.lang.Exception
- Throws:
java.lang.Exception
perhapsDisable
public static void perhapsDisable(com.franz.ag.AllegroGraphConnection connection)
throws com.franz.ag.AllegroGraphException
- Throws:
com.franz.ag.AllegroGraphException