org.basex.core
Class DataPool

java.lang.Object
  extended by org.basex.core.DataPool

public final class DataPool
extends Object

This class organizes all currently opened database.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Andreas Weiler

Constructor Summary
DataPool()
           
 
Method Summary
 String info()
          Returns information on the opened database instances.
 int pins(String db)
          Returns the number of pins for the specified database, or 0.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataPool

public DataPool()
Method Detail

info

public String info()
Returns information on the opened database instances.

Returns:
data reference

pins

public int pins(String db)
Returns the number of pins for the specified database, or 0. Used for testing.

Parameters:
db - name of the database
Returns:
number of references