org.basex.core
Class DataPool
java.lang.Object
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
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. |
DataPool
public DataPool()
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