|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.pljava.internal.Backend
public class Backend
Provides access to some useful routines in the PostgreSQL server.
Field Summary | |
---|---|
static java.lang.Object |
THREADLOCK
All native calls synchronize on this object. |
Constructor Summary | |
---|---|
Backend()
|
Method Summary | |
---|---|
static void |
addClassImages(int jarId,
java.lang.String urlString)
|
static void |
clearFunctionCache()
|
static java.lang.String |
getConfigOption(java.lang.String key)
Returns the configuration option as read from the Global Unified Config package (GUC). |
static Session |
getSession()
|
static int |
getStatementCacheSize()
Returns the size of the statement cache. |
static boolean |
isCallingJava()
Returns true if the backend is awaiting a return from a
call into the JVM. |
static boolean |
isReleaseLingeringSavepoints()
Returns the value of the GUC custom variable
pljava.release_lingering_savepoints . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Object THREADLOCK
Constructor Detail |
---|
public Backend()
Method Detail |
---|
public static Session getSession()
public static java.lang.String getConfigOption(java.lang.String key)
key
- The name of the option.
public static int getStatementCacheSize()
public static void addClassImages(int jarId, java.lang.String urlString) throws java.sql.SQLException
java.sql.SQLException
public static void clearFunctionCache()
public static boolean isCallingJava()
true
if the backend is awaiting a return from a
call into the JVM. This method will only return false
when called from a thread other then the main thread and the main
thread has returned from the call into the JVM.
public static boolean isReleaseLingeringSavepoints()
pljava.release_lingering_savepoints
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |