com.hp.hpl.jena.reasoner.dig
Class DIGConnectionPool

java.lang.Object
  extended by com.hp.hpl.jena.reasoner.dig.DIGConnectionPool

public class DIGConnectionPool
extends java.lang.Object

Maintains a pool of active DIG connections and whether they are allocated or not. Implements Singleton pattern.

Version:
Release @release@ ($Id: DIGConnectionPool.java,v 1.5 2005/02/21 12:16:18 andy_seaborne Exp $)
Author:
Ian Dickinson, HP Labs (email)

Method Summary
 DIGConnection allocate()
           
 DIGConnection allocate(java.lang.String connectionURL)
           
static DIGConnectionPool getInstance()
          Answer the singleton instance of the adapter pool.
 void release(DIGConnection dc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DIGConnectionPool getInstance()

Answer the singleton instance of the adapter pool.


allocate

public DIGConnection allocate()

allocate

public DIGConnection allocate(java.lang.String connectionURL)

release

public void release(DIGConnection dc)


Copyright © 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP