|
EclipseLink 1.1.4, build 'v20100812-r7860' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MBeanRuntimeServicesMBean
Purpose: Provide a dynamic interface into the EclipseLink Session.
Description: This class is meant to provide an interface for gaining access to configuration of the EclipseLink Session during runtime. It 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)
This method provides client with access to add a new connection pool to a TopLink ServerSession. |
java.util.List |
getAvailableConnectionPools()
This method will return the available Connection pools within this Server Session |
java.util.List |
getClassesInSession()
This method is used to return those Class Names that have identity Maps in the Session. |
java.lang.Integer |
getNumberOfObjectsInIdentityMap(java.lang.String className)
This method is used to return the number of objects in a particular Identity Map |
java.lang.Integer |
getNumberOfObjectsInIdentityMapSubCache(java.lang.String className)
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)
This method will return a collection of the objects in the Identity Map. |
java.util.List |
getObjectsInIdentityMapSubCacheAsMap(java.lang.String className)
This method will return a collection of the objects in the Identity Map. |
int |
getProfileWeight()
Return the DMS sensor weight |
int |
getSequencePreallocationSize()
Method returns the value of the Sequence Preallocation size |
boolean |
getShouldCacheAllStatements()
Returns if statements should be cached or not |
boolean |
getShouldLogMessages()
This method is used to determine if messages should be logged by the session |
boolean |
getShouldLogPerformanceProfiler()
This method is used to determine if we should be logging when using the Performance Profiler |
boolean |
getShouldProfilePerformance()
This method will return if profiling is turned on or not |
java.util.List |
getSizeForPool(java.lang.String poolName)
This method will retrieve the size of a particular connection pool |
int |
getStatementCacheSize()
Returns the statement cache size. |
void |
resetAllConnections()
This method is used to reset connections from the session to the database. |
void |
setProfileWeight(int size)
Set the DMS sensor weight |
void |
setSequencePreallocationSize(int size)
This method provides access for setting the sequence pre-allocation size |
void |
setShouldCacheAllStatements(boolean shouldCacheAllStatements)
Method used to set if statements should be cached. |
void |
setShouldLogPerformanceProfiler(boolean shouldLogPerformanceProfiler)
This method is used to turn on Profile logging when using the Performance Profiler |
void |
setShouldProfilePerformance(boolean shouldProfile)
This method is used to turn on Performance Profiling |
void |
setStatementCacheSize(int size)
Used to set the statement cache size. |
void |
updatePoolSize(java.lang.String poolName,
int maxSize,
int minSize)
This method allows the client to set the pool size for a particular pool, based on the pool name |
Method Detail |
---|
boolean getShouldLogMessages()
void setShouldProfilePerformance(boolean shouldProfile)
boolean getShouldProfilePerformance()
void setShouldLogPerformanceProfiler(boolean shouldLogPerformanceProfiler)
boolean getShouldLogPerformanceProfiler()
void setShouldCacheAllStatements(boolean shouldCacheAllStatements)
boolean getShouldCacheAllStatements()
void setStatementCacheSize(int size)
int getStatementCacheSize()
void setSequencePreallocationSize(int size)
int getSequencePreallocationSize()
void updatePoolSize(java.lang.String poolName, int maxSize, int minSize)
java.util.List getAvailableConnectionPools()
java.util.List getSizeForPool(java.lang.String poolName)
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
void resetAllConnections()
java.util.List getClassesInSession()
java.util.List getObjectsInIdentityMap(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
java.lang.Integer getNumberOfObjectsInIdentityMap(java.lang.String className) throws java.lang.ClassNotFoundException
className
- the fully qualified name of the class to get number of instances of.
If
- ClassNotFoundException is thrown then the IdentityMap for that class name could not be found
java.lang.ClassNotFoundException
java.util.List getObjectsInIdentityMapSubCacheAsMap(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
java.lang.Integer getNumberOfObjectsInIdentityMapSubCache(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
int getProfileWeight()
void setProfileWeight(int size)
|
EclipseLink 1.1.4, build 'v20100812-r7860' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |