|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Purpose: Provide a dynamic interface into the TopLink Session.
Description: This class is ment to provide an interface for gaining access to configuration of the TopLink Session during runtime. It will provides the basis for a JMX MBean
Method Summary | |
void |
addNewConnectionPool(java.lang.String poolName, int maxSize, int minSize, java.lang.String platform, java.lang.String driverClassName, java.lang.String url, java.lang.String userName, java.lang.String password) PUBLIC: This method provides client with access to add a new connection pool to a TopLink ServerSession. |
void |
addNewConnectionPool(java.lang.String poolName, int maxSize, int minSize, java.lang.String platform, java.lang.String driverClassName, java.lang.String url, java.lang.String userName, java.lang.String password, java.lang.String licencePath) Deprecated. |
java.util.List |
getAvailableConnectionPools() PUBLIC: This method will return the available Connection pools within this Server Session |
java.util.List |
getClassesInSession() PUBLIC: This method is used to return those Class Names that have identity Maps in the Session. |
java.lang.Integer |
getNumberOfObjectsInIdentityMap(java.lang.String className) PUBLIC: This method is used to return the number of objects in a particular Identity Map If ClassNotFoundException is thrown then the IdenityMap for that class name could not be found |
java.lang.Integer |
getNumberOfObjectsInIdentityMapSubCache(java.lang.String className) PUBLIC: This method is used to return the number of objects in a particular Identity Map's subcache. |
java.util.List |
getObjectsInIdentityMap(java.lang.String className) PUBLIC: This method will return a collection of the objects in the Identity Map. |
java.util.List |
getObjectsInIdentityMapSubCache(java.lang.String className) Deprecated. |
java.util.Map |
getObjectsInIdentityMapSubCacheAsMap(java.lang.String className) PUBLIC: This method will return a collection of the objects in the Identity Map. |
int |
getSequencePreallocationSize() PUBLIC: Method returns the value of the Sequence Preallocation size |
boolean |
getShouldCacheAllStatements() PUBLIC: Returns if statements should be cached or not |
boolean |
getShouldLogDebug() PUBLIC: This method is used to determine if debug messages should be logged |
boolean |
getShouldLogExceptions() PUBLIC: This method is used to determine if exception messages should be logged |
boolean |
getShouldLogExceptionStackTrace() PUBLIC: This method is used to determine if exception Stack Trace should be logged |
boolean |
getShouldLogMessages() PUBLIC: This method is used to determine if messages should be logged by the session |
boolean |
getShouldLogPerformanceProfiler() |
boolean |
getShouldPrintConnection() PUBLIC: This method is used to determine if exception Stack Trace should be logged |
boolean |
getShouldPrintDate() PUBLIC: This method is used to determine if exception Stack Trace should be logged |
boolean |
getShouldPrintSession() PUBLIC: This method is used to determine if exception Stack Trace should be logged |
boolean |
getShouldPrintThread() PUBLIC: This method is used to determine if exception Stack Trace should be logged |
boolean |
getShouldProfilePerformance() PUBLIC: This method will return if profgiling is turned on or not |
java.util.List |
getSizeForPool(java.lang.String poolName) PUBLIC: This method will retrieve the size of a particulat connection pool |
int |
getStatementCacheSize() PUBLIC: Returns the statement cache size. |
void |
resetAllConnections() PUBLIC: This method is used to reset connections from the session to the database. |
void |
setSequencePreallocationSize(int size) PUBLIC: This method provide access for setting the sequence pre-allocation size |
void |
setShouldCacheAllStatements(boolean shouldCacheAllStatements) PUBLIC: Method used to set if statements should be cached. |
void |
setShouldLogDebug(boolean shouldLogDebug) PUBLIC: This method is used to set if debug messages should be logged |
void |
setShouldLogExceptions(boolean shouldLogExceptions) PUBLIC: This method is used to set if Exception messages should be logged |
void |
setShouldLogExceptionStackTrace(boolean shouldLogExceptionStackTrace) PUBLIC: This method is used to set if Exception Stack Trace should be logged |
void |
setShouldLogMessages(boolean shouldLogMessages) PUBLIC: This method is used to set if messages should be logged by the session |
void |
setShouldLogPerformanceProfiler(boolean shouldLogPerformanceProfiler) PUBLIC: This method is used to turn on Profile logging when using th Performance Profiler |
void |
setShouldPrintConnection(boolean shouldPrintConnection) PUBLIC: This method is used to set if Exception Stack Trace should be logged |
void |
setShouldPrintDate(boolean shouldPrintDate) PUBLIC: This method is used to set if Exception Stack Trace should be logged |
void |
setShouldPrintSession(boolean shouldPrintSession) PUBLIC: This method is used to set if Exception Stack Trace should be logged |
void |
setShouldPrintThread(boolean shouldPrintThread) PUBLIC: This method is used to set if Exception Stack Trace should be logged |
void |
setShouldProfilePerformance(boolean shouldProfile) PUBLIC: This method is used to turn on Performance Profiling |
void |
setStatementCacheSize(int size) PUBLIC: Used to set the statement cache size. |
void |
updatePoolSize(java.lang.String poolName, int maxSize, int minSize) PUBLIC: This method allows the client to set the pool size for a particular pool, based on the pool name |
Method Detail |
public void setShouldLogMessages(boolean shouldLogMessages)
public boolean getShouldLogMessages()
public void setShouldLogDebug(boolean shouldLogDebug)
public boolean getShouldLogDebug()
public void setShouldLogExceptions(boolean shouldLogExceptions)
public boolean getShouldLogExceptions()
public void setShouldLogExceptionStackTrace(boolean shouldLogExceptionStackTrace)
public boolean getShouldLogExceptionStackTrace()
public void setShouldPrintDate(boolean shouldPrintDate)
public boolean getShouldPrintDate()
public void setShouldPrintSession(boolean shouldPrintSession)
public boolean getShouldPrintSession()
public void setShouldPrintThread(boolean shouldPrintThread)
public boolean getShouldPrintThread()
public void setShouldPrintConnection(boolean shouldPrintConnection)
public boolean getShouldPrintConnection()
public void setShouldProfilePerformance(boolean shouldProfile)
public boolean getShouldProfilePerformance()
public void setShouldLogPerformanceProfiler(boolean shouldLogPerformanceProfiler)
public boolean getShouldLogPerformanceProfiler()
public void setShouldCacheAllStatements(boolean shouldCacheAllStatements)
public boolean getShouldCacheAllStatements()
public void setStatementCacheSize(int size)
public int getStatementCacheSize()
public void setSequencePreallocationSize(int size)
public int getSequencePreallocationSize()
public void updatePoolSize(java.lang.String poolName, int maxSize, int minSize)
public java.util.List getAvailableConnectionPools()
public java.util.List getSizeForPool(java.lang.String poolName)
public void addNewConnectionPool(java.lang.String poolName, int maxSize, int minSize, java.lang.String platform, java.lang.String driverClassName, java.lang.String url, java.lang.String userName, java.lang.String password, java.lang.String licencePath) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
throws ClassNotFoundException
public void addNewConnectionPool(java.lang.String poolName, int maxSize, int minSize, java.lang.String platform, java.lang.String driverClassName, java.lang.String url, java.lang.String userName, java.lang.String password) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void resetAllConnections()
public java.util.List getClassesInSession()
public java.util.List getObjectsInIdentityMap(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.lang.Integer getNumberOfObjectsInIdentityMap(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.util.List getObjectsInIdentityMapSubCache(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
getObjectsInIdentityMapSubCacheAsMap(String className)
public java.util.Map getObjectsInIdentityMapSubCacheAsMap(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.lang.Integer getNumberOfObjectsInIdentityMapSubCache(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |