org.topbraid.allegro.graphstore
Class AllegroGraphConnectionManager

java.lang.Object
  extended by 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

Constructor Summary
AllegroGraphConnectionManager()
           
 
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
 

Constructor Detail

AllegroGraphConnectionManager

public AllegroGraphConnectionManager()
Method Detail

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