|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TriplestoreSessionPool
A pool of triplestore sessions.
Method Summary | |
---|---|
void |
close()
Close all sessions. |
TriplestoreSession |
get()
Get a connection from the pool. |
int |
getFreeCount()
Get the number of sessions not currently in use. |
int |
getInUseCount()
Get the number of sessions currently in use. |
java.lang.String[] |
listTripleLanguages()
|
java.lang.String[] |
listTupleLanguages()
|
void |
release(TriplestoreSession session)
Release a connection back to the pool. |
Method Detail |
---|
TriplestoreSession get() throws TrippiException
TrippiException
- if there were no spare sessions and an
attempt to create one on-demand failed.void release(TriplestoreSession session)
java.lang.String[] listTupleLanguages()
java.lang.String[] listTripleLanguages()
int getInUseCount()
int getFreeCount()
void close() throws TrippiException
TrippiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |