|
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 Identity Map Manager.
Description: This interface is ment to provide a framework for gaining access to configuration and statistics of the TopLink Cache during runtime. It provides JMX functionality
Method Summary | |
boolean |
getChangeSetPropagationShouldBeAsynchronous() PUBLIC: This method indicates if Propigation of Cache Synch messages should be Asynchronous or not |
boolean |
getShouldBindAllParameters() PUBLIC: Method returns if all Parameters should be bound or not |
boolean |
getShouldRemoveConnectionOnError() |
int |
getStringBindingSize() PUBLIC: Return the size of strings after which will be bound into the statement |
boolean |
getUsesBatchWriting() PUBLIC: This method will return if batchWriting is in use or not. |
boolean |
getUsesByteArrayBinding() PUBLIC: Shows if Byte Array Binding is turned on or not |
boolean |
getUsesJDBCBatchWriting() PUBLIC: This method will return if batchWriting is in use or not. |
boolean |
getUsesNativeSQL() PUBLIC: Shows if native SQL is being used |
boolean |
getUsesStreamsForBinding() PUBLIC: This method indicates if streams are being used for binding |
boolean |
getUsesStringBinding() PUBLIC: This method indicates if Strings are being bound |
void |
initializeAllIdentityMaps() PUBLIC: This method is used to clear the contents of all identity maps. |
void |
initializeCacheSynchronizationServices() PUBLIC: This method will be used by clients to restart their synchronization service for a particular session. |
void |
initializeIdentityMap(java.lang.String className) PUBLIC: This method is used to clear the contents of a particular identity map. |
void |
refreshProject(java.lang.String projectFilePath) PUBLIC: This method used to reset a project in a session. |
void |
setChangeSetPropagationShouldBeAsynchronous(boolean isAsynchronous) PUBLIC: This method is ued to modify the cache synchronization feature. |
void |
setIdentityMapForClass(java.lang.String className, java.lang.String identityMapClassType, int maxSize) PUBLIC: This method will be used to set a new type of identity map for a particular class type. |
void |
setShouldBindAllParameters(boolean shouldBindAllParameters) PUBLIC: This method is used to controll if All parameters should be bound |
void |
setShouldRemoveConnectionOnError(boolean shouldRemoveConnection) PUBLIC: This method is ued to modify the cache synchronization feature. |
void |
setStringBindingSize(int size) PUBLIC: Sets the size of strings after which they will be bound into the statement |
void |
setUsesBatchWriting(boolean usesBatchWriting) PUBLIC: This method is used to turn on TopLink Batch Writing. |
void |
setUsesByteArrayBinding(boolean usesByteArrayBinding) PUBLIC: This method allows control of weither byte arrays should be bound into the statement or not. |
void |
setUsesJDBCBatchWriting(boolean usesJDBCBatchWriting) PUBLIC: This method is used to turn on JDBC Batch Writing. |
void |
setUsesNativeSQL(boolean usesNativeSQL) PUBLIC: This method allows the client to set if Native SQL should be used. |
void |
setUsesStreamsForBinding(boolean usesStreamsForBinding) PUBLIC: This method is used to set if streams should be used for binding. |
void |
setUsesStringBinding(boolean usesStringBinding) PUBLIC: Allows the client to set if String should be bound into the statement or not. |
void |
updateCacheSize(java.lang.String className, int newSize) PUBLIC: This method is used to update the cache size of a particular Identity Map If ClassNotFoundException is thrown then the IdenityMap for that class name could not be found |
void |
updateSynchronizationDiscoveryMulticastGroup(java.lang.String multicastIP, int multicastPort) PUBLIC: This method will be used to update the multicast group of the Synchronization Service. |
Method Detail |
public void initializeIdentityMap(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void initializeAllIdentityMaps()
public void setIdentityMapForClass(java.lang.String className, java.lang.String identityMapClassType, int maxSize) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void refreshProject(java.lang.String projectFilePath)
public void updateCacheSize(java.lang.String className, int newSize) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void setChangeSetPropagationShouldBeAsynchronous(boolean isAsynchronous)
public boolean getChangeSetPropagationShouldBeAsynchronous()
public void setShouldRemoveConnectionOnError(boolean shouldRemoveConnection)
public boolean getShouldRemoveConnectionOnError()
public void updateSynchronizationDiscoveryMulticastGroup(java.lang.String multicastIP, int multicastPort)
public void initializeCacheSynchronizationServices() throws SynchronizationException
SynchronizationException
public void setShouldBindAllParameters(boolean shouldBindAllParameters)
public boolean getShouldBindAllParameters()
public void setStringBindingSize(int size)
public int getStringBindingSize()
public void setUsesBatchWriting(boolean usesBatchWriting)
public boolean getUsesBatchWriting()
public void setUsesJDBCBatchWriting(boolean usesJDBCBatchWriting)
public boolean getUsesJDBCBatchWriting()
public void setUsesByteArrayBinding(boolean usesByteArrayBinding)
public boolean getUsesByteArrayBinding()
public void setUsesNativeSQL(boolean usesNativeSQL)
public boolean getUsesNativeSQL()
public void setUsesStreamsForBinding(boolean usesStreamsForBinding)
public boolean getUsesStreamsForBinding()
public void setUsesStringBinding(boolean usesStringBinding)
public boolean getUsesStringBinding()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |