|
Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated) 11g Release 1 (11.1.1) B32476-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.oc4j.admin.management.mbeans.J2EEManagedObjectBase
oracle.toplink.services.oc4j.Oc4jRuntimeServices
public class Oc4jRuntimeServices
Purpose: Provide a dynamic interface into the TopLink Session.
Description: This class is meant to provide facilities for managing a TopLink session external to TopLink over JMX.
Field Summary | |
---|---|
java.lang.String |
objectName
Deprecated. |
Constructor Summary | |
---|---|
Oc4jRuntimeServices()
Deprecated. Default Constructor |
|
Oc4jRuntimeServices(oracle.toplink.internal.sessions.AbstractSession session,
java.lang.String myBaseObjectName)
Deprecated. Create an instance of Oc4jRuntimeServices to be associated with the provided session |
|
Oc4jRuntimeServices(java.util.Locale locale)
Deprecated. Create an instance of Oc4jRuntimeServices to be associated with the provided locale The user must call setSession(Session) afterwards to define the session. |
Method Summary | |
---|---|
void |
clearStatementCache()
Deprecated. Used to clear the statement cache. |
java.lang.Boolean |
getcacheSynchAsynchronous()
Deprecated. This method is used to answer whether cache synchronization is asynchronous or not. |
java.lang.Boolean |
getcacheSynchEnabled()
Deprecated. This method is used to answer whether cache synchronization is enabled or not. |
java.lang.Object[][] |
getClassSummaryDetails()
Deprecated. Provide an instance of 2 Dimensional Array simulating tabular format information about all classes in the session. |
java.lang.Object[][] |
getClassSummaryDetailsUsingFilter(java.lang.String filter)
Deprecated. Provide an instance of 2 Dimensional Array simulating tabular format information about all classes in the session whose class names match the provided filter. |
java.lang.String |
getconnectionPoolType()
Deprecated. Return connection pool type. |
java.lang.String |
getcurrentProfileWeight()
Deprecated. Answer the current sensor weight (NORMAL, HEAVY, ALL, NONE) as a String. |
java.lang.String |
getcurrentTopLinkLogLevel()
Deprecated. Answer the TopLink log level that is changeable. |
java.lang.String |
getcurrentTopLinkLogLevel(java.lang.String category)
Deprecated. Answer the TopLink log level that is changeable, given the passed category. |
java.lang.String |
getdatabasePlatform()
Deprecated. Return the database platform used by the DatabaseSession. |
java.lang.String |
getdeployedProfileWeight()
Deprecated. Answer the deployed sensor weight (NORMAL, HEAVY, ALL) as an String. |
java.lang.String |
getdeployedTopLinkLogLevel()
Deprecated. Answer the TopLink log level at deployment time. |
java.lang.String |
getDeployedTopLinkLogLevel(java.lang.String category)
Deprecated. Answer the TopLink log level at deployment time for the given category. |
java.lang.String |
getdriver()
Deprecated. Return db driver class name. |
java.lang.String |
getjdbcConnectionDetails()
Deprecated. Return JDBCConnection detail information. |
java.lang.String |
getlogFilename()
Deprecated. Return the log filename. |
java.lang.String |
getlogType()
Deprecated. Return the log type, either "TopLink", "Java" or "Server" |
java.lang.Integer |
getMaxSizeForPool(java.lang.String poolName)
Deprecated. This method will retrieve the max size of a particular connection pool |
java.lang.Integer |
getMinSizeForPool(java.lang.String poolName)
Deprecated. This method will retrieve the min size of a particular connection pool |
java.lang.String |
getmoduleName()
Deprecated. getModuleName: Answer the EJB-Module I belong to. |
java.lang.Integer |
getnumberOfObjectsInAllIdentityMaps()
Deprecated. This method will SUM and return the number of objects in all Identity Maps in the session. |
java.lang.Integer |
getNumberOfObjectsInIdentityMap(java.lang.String className)
Deprecated. This method is used to return the number of objects in a particular Identity Map |
java.lang.Integer |
getnumberOfPersistentClasses()
Deprecated. This method will answer the number of persistent classes contained in the session. |
java.lang.String |
getprofilingType()
Deprecated. This method is used to get the type of profiling. |
java.lang.Integer |
getsequencePreallocationSize()
Deprecated. Method returns the value of the Sequence Preallocation size |
java.lang.String |
getsessionName()
Deprecated. Answer the name of the TopLink session this MBean represents. |
java.lang.String |
getsessionType()
Deprecated. Answer the type of the TopLink session this MBean represents. |
java.lang.Boolean |
getshouldBindAllParameters()
Deprecated. Method returns if all Parameters should be bound or not |
java.lang.Boolean |
getshouldCacheAllStatements()
Deprecated. Returns if statements should be cached or not |
java.lang.Boolean |
getshouldLogPerformanceProfiler()
Deprecated. Method indicates if Performace profile should be loged |
java.lang.Integer |
getstatementCacheSize()
Deprecated. Returns the statement cache size. |
java.lang.Integer |
getstringBindingSize()
Deprecated. Return the size of strings after which will be bound into the statement If we are not using a DatabaseLogin, or we're not using string binding, answer 0 (zero). |
java.lang.Long |
gettimeConnectionEstablished()
Deprecated. This method will return a long indicating the exact time in Milliseconds that the session connected to the database. |
java.lang.Boolean |
getusesBatchWriting()
Deprecated. This method will return if batchWriting is in use or not. |
java.lang.Boolean |
getusesByteArrayBinding()
Deprecated. Shows if Byte Array Binding is turned on or not |
java.lang.Boolean |
getusesDMSProfiling()
Deprecated. This method answers true if DMS Performance Profiling is on. |
java.lang.Boolean |
getusesJDBCBatchWriting()
Deprecated. This method will return if batchWriting is in use or not. |
java.lang.Boolean |
getusesNativeSQL()
Deprecated. Shows if native SQL is being used |
java.lang.Boolean |
getusesStreamsForBinding()
Deprecated. This method indicates if streams are being used for binding |
java.lang.Boolean |
getusesStringBinding()
Deprecated. This method indicates if Strings are being bound |
java.lang.Boolean |
getusesTopLinkProfiling()
Deprecated. This method answers true if TopLink Performance Profiling is on. |
void |
initializeAllIdentityMaps()
Deprecated. This method is used to initialize the identity maps in the session. |
void |
initializeIdentityMap(java.lang.String className)
Deprecated. This method is used to initialize the identity maps specified by className. |
void |
initializeIdentityMaps(java.lang.String[] classNames)
Deprecated. This method is used to initialize the identity maps specified by the Vector of classNames. |
void |
invalidateAllIdentityMaps()
Deprecated. This method is used to invalidate the identity maps in the session. |
void |
invalidateIdentityMap(java.lang.String className)
Deprecated. This method is used to invalidate the identity maps specified by className. |
void |
invalidateIdentityMap(java.lang.String className,
java.lang.Boolean recurse)
Deprecated. This method is used to invalidate the identity maps specified by className. |
void |
invalidateIdentityMaps(java.lang.String[] classNamesParam,
java.lang.Boolean recurse)
Deprecated. This method is used to invalidate the identity maps specified by the String[] of classNames. |
void |
printAllIdentityMapTypes()
Deprecated. This method will log the types of Identity Maps in the session. |
void |
printAvailableConnectionPools()
Deprecated. This method will print the available Connection pools to the SessionLog. |
void |
printClassesInSession()
Deprecated. This method is used to output those Class Names that have identity Maps in the Session. |
void |
printIdentityMapLocks()
Deprecated. This method will log the instance level locks in all Identity Maps in the session. |
void |
printIdentityMapLocks(java.lang.String registeredClassName)
Deprecated. This method will log the instance level locks in the Identity Map for the given class in the session. |
void |
printObjectsInIdentityMap(java.lang.String className)
Deprecated. This method will log the objects in the Identity Map. |
void |
printObjectsInIdentityMaps()
Deprecated. This method will log all objects in all Identity Maps in the session. |
void |
printProfileSummary()
Deprecated. This method assumes TopLink Profiling (as opposed to Java profiling). |
void |
printProfileSummaryByClass()
Deprecated. This method assumes TopLink Profiling (as opposed to Java profiling). |
void |
printProfileSummaryByQuery()
Deprecated. This method assumes TopLink Profiling (as opposed to Java profiling). |
void |
resetAllConnections()
Deprecated. This method is used to reset connections from the session to the database. |
void |
setcurrentProfileWeight(java.lang.String weight)
Deprecated. This method is used to change the sensor weight (NORMAL, HEAVY, ALL, NONE) as an String. |
void |
setcurrentTopLinkLogLevel(java.lang.String newLevel)
Deprecated. Set the TopLink log level to be used at runtime. |
void |
setprofilingType(java.lang.String profileType)
Deprecated. This method is used to select the type of profiling. |
void |
setshouldLogPerformanceProfiler(java.lang.Boolean shouldLogPerformanceProfiler)
Deprecated. This method is used to turn on Profile logging when using th Performance Profiler |
void |
setuseDMSProfiling()
Deprecated. This method is used to turn on DMS Performance Profiling |
void |
setuseNoProfiling()
Deprecated. This method is used to turn off all Performance Profiling, DMS or TopLink. |
void |
setuseTopLinkProfiling()
Deprecated. This method is used to turn on TopLink Performance Profiling |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String objectName
Constructor Detail |
---|
public Oc4jRuntimeServices()
public Oc4jRuntimeServices(oracle.toplink.internal.sessions.AbstractSession session, java.lang.String myBaseObjectName)
session
- The session to be used with these RuntimeServicesString
- myBaseObjectName: "oc4j:....." (The JMX object name before it's wrapped in a ObjectName)public Oc4jRuntimeServices(java.util.Locale locale)
Method Detail |
---|
public java.lang.String getsessionName()
public java.lang.String getsessionType()
public java.lang.Object[][] getClassSummaryDetailsUsingFilter(java.lang.String filter)
public java.lang.Object[][] getClassSummaryDetails()
public java.lang.String getmoduleName()
public java.lang.String getdeployedTopLinkLogLevel()
public java.lang.String getDeployedTopLinkLogLevel(java.lang.String category)
String
- category: category of log level desiredpublic java.lang.String getcurrentTopLinkLogLevel()
public java.lang.String getcurrentTopLinkLogLevel(java.lang.String category)
String
- category: category for levelpublic void setcurrentTopLinkLogLevel(java.lang.String newLevel)
String
- newLevel: new log levelpublic java.lang.String getprofilingType()
public void setprofilingType(java.lang.String profileType)
public void setuseTopLinkProfiling()
public void setuseDMSProfiling()
public java.lang.Boolean getusesTopLinkProfiling()
public java.lang.Boolean getusesDMSProfiling()
public void setuseNoProfiling()
public void setshouldLogPerformanceProfiler(java.lang.Boolean shouldLogPerformanceProfiler)
public java.lang.Boolean getshouldLogPerformanceProfiler()
public java.lang.Boolean getshouldBindAllParameters()
public java.lang.Integer getstringBindingSize()
public java.lang.Boolean getusesBatchWriting()
public java.lang.Long gettimeConnectionEstablished()
public java.lang.Boolean getusesJDBCBatchWriting()
public java.lang.Boolean getusesByteArrayBinding()
public java.lang.Boolean getusesNativeSQL()
public java.lang.Boolean getusesStreamsForBinding()
public java.lang.Boolean getusesStringBinding()
public java.lang.Boolean getshouldCacheAllStatements()
public java.lang.Integer getstatementCacheSize()
public void clearStatementCache()
public java.lang.Integer getsequencePreallocationSize()
public void printAvailableConnectionPools()
public java.lang.Integer getMaxSizeForPool(java.lang.String poolName)
poolName
- the name of the pool to get the max size for
public java.lang.Integer getMinSizeForPool(java.lang.String poolName)
poolName
- the name of the pool to get the min size for
public void resetAllConnections()
public void printClassesInSession()
public void printObjectsInIdentityMap(java.lang.String className) throws java.lang.ClassNotFoundException
className
- the fully qualified classname identifying the identity map
thrown
- then the IdentityMap for that class name could not be found
java.lang.ClassNotFoundException
public void printAllIdentityMapTypes()
public void printObjectsInIdentityMaps()
public 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.
thrown
- then the IdentityMap for that class name could not be found
java.lang.ClassNotFoundException
public java.lang.Integer getnumberOfObjectsInAllIdentityMaps()
public java.lang.Integer getnumberOfPersistentClasses()
public void printIdentityMapLocks()
public void printIdentityMapLocks(java.lang.String registeredClassName)
public void printProfileSummary()
public void printProfileSummaryByClass()
public void printProfileSummaryByQuery()
public java.lang.String getlogType()
public java.lang.String getdatabasePlatform()
public java.lang.String getjdbcConnectionDetails()
public java.lang.String getconnectionPoolType()
public java.lang.String getdriver()
public java.lang.String getlogFilename()
public java.lang.String getdeployedProfileWeight()
public java.lang.String getcurrentProfileWeight()
public void setcurrentProfileWeight(java.lang.String weight)
public void initializeAllIdentityMaps()
public void initializeIdentityMaps(java.lang.String[] classNames) throws java.lang.ClassNotFoundException
classNames
- String[] of fully qualified classnames identifying the identity maps to initialize
java.lang.ClassNotFoundException
public void initializeIdentityMap(java.lang.String className) throws java.lang.ClassNotFoundException
className
- the fully qualified classname identifying the identity map to initialize
java.lang.ClassNotFoundException
public void invalidateAllIdentityMaps()
public void invalidateIdentityMaps(java.lang.String[] classNamesParam, java.lang.Boolean recurse) throws java.lang.ClassNotFoundException
classNames
- String[] of fully qualified classnames identifying the identity maps to invalidaterecurse
- Boolean indicating if we want to invalidate the children identity maps too
java.lang.ClassNotFoundException
public void invalidateIdentityMap(java.lang.String className) throws java.lang.ClassNotFoundException
className
- the fully qualified classname identifying the identity map to invalidate
java.lang.ClassNotFoundException
public void invalidateIdentityMap(java.lang.String className, java.lang.Boolean recurse) throws java.lang.ClassNotFoundException
className
- the fully qualified classname identifying the identity map to invalidaterecurse
- Boolean indicating if we want to invalidate the children identity maps too
java.lang.ClassNotFoundException
public java.lang.Boolean getcacheSynchEnabled()
public java.lang.Boolean getcacheSynchAsynchronous()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |