|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.core.DataPool
public final class DataPool
This class organizes all currently opened database.
| Constructor Summary | |
|---|---|
DataPool()
|
|
| Method Summary | |
|---|---|
void |
add(Data d)
Adds a data reference to the pool. |
void |
close()
Closes all data references. |
Data |
pin(java.lang.String db)
Returns an existing data reference for the specified database, or null. |
boolean |
unpin(Data d)
Unpins a data reference. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataPool()
| Method Detail |
|---|
public Data pin(java.lang.String db)
db - name of the database
public boolean unpin(Data d)
d - data reference
public void add(Data d)
d - data referencepublic void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||