|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@SingleTargetOnly
public interface JDBCStoreMBean
Defines an instance of the persistent store that stores its persistent records in a JDBC-accessible database. It may be used by JMS and by other subsystems.
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER |
Method Summary | |
---|---|
abstract JDBCSystemResourceMBean |
getDataSource() The JDBC data source used by this JDBC store to access its backing table. |
abstract int |
getDeletesPerBatchMaximum() The maximum number of table rows that are deleted per database call. |
abstract int |
getDeletesPerStatementMaximum() The maximum number of table rows that are deleted per database call. |
abstract int |
getInsertsPerBatchMaximum() The maximum number of table rows that are inserted per database call. |
abstract int |
getReconnectRetryIntervalMillis() The length of time in milliseconds between reconnection attempts during the reconnection retry period. |
abstract int |
getReconnectRetryPeriodMillis() Returns the length of time in milliseconds during which the persistent store will attempt to re-establish a connection to the database. |
abstract int |
getThreeStepThreshold() Specifies the threshold, in bytes, when the JDBC store uses 3 steps (insert, select, populate) instead of 1 step (insert) to populate an Oracle Blob data type. |
abstract int |
getWorkerCount() The number of JDBC store worker threads to process the workerload. |
abstract int |
getWorkerPreferredBatchSize() Specifies the batch size when the Worker Count attribute is configured to a value greater than 1. |
abstract boolean |
isOraclePiggybackCommitEnabled() Enables committing a batch of INSERT or DELETE operations with the last operation of the transaction instead of issuing a separate commit call to database server which saves a server round trip. |
abstract void |
setDataSource(JDBCSystemResourceMBean dataSource) Sets the value of the DataSource attribute. |
abstract void |
setDeletesPerBatchMaximum(int deletesPerBatchMaximum) Sets the value of the DeletesPerBatchMaximum attribute. |
abstract void |
setDeletesPerStatementMaximum(int deletesPerBatchMaximum) Sets the value of the DeletesPerStatementMaximum attribute. |
abstract void |
setInsertsPerBatchMaximum(int deletesPerBatchMaximum) Sets the value of the InsertsPerBatchMaximu attribute. |
abstract void |
setOraclePiggybackCommitEnabled(boolean enable) Sets the value of the OraclePiggybackCommitEnabled attribute. |
abstract void |
setReconnectRetryIntervalMillis(int reconnectRetryIntervalMillis) Set the length of time in milliseconds between reconnection attempts during the reconnection retry period. |
abstract void |
setReconnectRetryPeriodMillis(int reconnectRetryPeriodMillis) Set the length of time in milliseconds during which the persistent store will attempt to re-establish a connection to the database. |
abstract void |
setThreeStepThreshold(int threeStepThreshold) Sets the value of the ThreeStepThreshold attribute. |
abstract void |
setWorkerCount(int workerCount) Sets the value of the WorkerCount attribute. |
abstract void |
setWorkerPreferredBatchSize(int workerLoadSize) Sets the value of the WorkerPreferredBatchSize attribute. |
Methods inherited from interface weblogic.management.configuration.GenericJDBCStoreMBean |
---|
getCreateTableDDLFile, getPrefixName, setCreateTableDDLFile, setPrefixName |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Methods inherited from interface weblogic.management.configuration.PersistentStoreMBean |
---|
addTarget, getLogicalName, getTargets, getXAResourceName, removeTarget, setLogicalName, setTargets, setXAResourceName |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
getDeploymentOrder, setDeploymentOrder |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
JDBCSystemResourceMBean getDataSource()
The JDBC data source used by this JDBC store to access its backing table.
The specified data source must use a non-XA JDBC driver since connection pools for XA JDBC drivers are not supported.
void setDataSource(JDBCSystemResourceMBean dataSource) throws InvalidAttributeValueException
Sets the value of the DataSource
attribute.
InvalidAttributeValueException
JDBCStoreMBean.getDataSource()
int getDeletesPerBatchMaximum()
The maximum number of table rows that are deleted per database call.
JDBCStoreMBean.getInsertsPerBatchMaximum()
, JDBCStoreMBean.getDeletesPerStatementMaximum()
void setDeletesPerBatchMaximum(int deletesPerBatchMaximum) throws InvalidAttributeValueException
Sets the value of the DeletesPerBatchMaximum
attribute.
InvalidAttributeValueException
DistributedManagementException
JDBCStoreMBean.getDeletesPerBatchMaximum()
int getInsertsPerBatchMaximum()
The maximum number of table rows that are inserted per database call.
JDBCStoreMBean.getDeletesPerBatchMaximum()
, JDBCStoreMBean.getDeletesPerStatementMaximum()
void setInsertsPerBatchMaximum(int deletesPerBatchMaximum) throws InvalidAttributeValueException
Sets the value of the InsertsPerBatchMaximu
attribute.
InvalidAttributeValueException
JDBCStoreMBean.getInsertsPerBatchMaximum()
int getDeletesPerStatementMaximum()
The maximum number of table rows that are deleted per database call.
JDBCStoreMBean.getDeletesPerBatchMaximum()
, JDBCStoreMBean.getInsertsPerBatchMaximum()
void setDeletesPerStatementMaximum(int deletesPerBatchMaximum) throws InvalidAttributeValueException
Sets the value of the DeletesPerStatementMaximum
attribute.
InvalidAttributeValueException
JDBCStoreMBean.getDeletesPerStatementMaximum()
int getWorkerCount()
The number of JDBC store worker threads to process the workerload.
void setWorkerCount(int workerCount) throws InvalidAttributeValueException
Sets the value of the WorkerCount
attribute.
InvalidAttributeValueException
JDBCStoreMBean.getWorkerCount()
int getWorkerPreferredBatchSize()
Specifies the batch size when the Worker Count
attribute is configured to a value greater than 1.
Used to configure the workload the JDBC store incrementally puts on each worker thread. The workload consists of IO requests which are grouped and pushed to each JDBC worker thread for processing. If the IO request is very large (for example 1M), then tune this attribute to a smaller value.
void setWorkerPreferredBatchSize(int workerLoadSize) throws InvalidAttributeValueException
Sets the value of the WorkerPreferredBatchSize
attribute.
The default value is 10.
InvalidAttributeValueException
JDBCStoreMBean.getWorkerPreferredBatchSize()
int getThreeStepThreshold()
Specifies the threshold, in bytes, when the JDBC store uses 3 steps (insert, select, populate) instead of 1 step (insert) to populate an Oracle Blob data type.
Applies only to Oracle databases where a Blob data type is used instead of the default Long Raw data type for record data.
The default value is 200000.
void setThreeStepThreshold(int threeStepThreshold) throws InvalidAttributeValueException
Sets the value of the ThreeStepThreshold
attribute.
InvalidAttributeValueException
JDBCStoreMBean.getThreeStepThreshold()
void setOraclePiggybackCommitEnabled(boolean enable)
Sets the value of the OraclePiggybackCommitEnabled
attribute.
boolean isOraclePiggybackCommitEnabled()
void setReconnectRetryPeriodMillis(int reconnectRetryPeriodMillis)
Set the length of time in milliseconds during which the persistent store will attempt to re-establish a connection to the database. The JDBC Store will repeatedly attempt to reconnection to the database during this period until the period has expired. The JDBC store will wait a specified period of time between reconnection attempts.
The reconnection period applies to JDBC connections regardless of the database that is used for the JDBC store.
JDBCStoreMBean.getReconnectRetryPeriodMillis()
, JDBCStoreMBean.getReconnectRetryIntervalMillis()
, JDBCStoreMBean.setReconnectRetryIntervalMillis(int)
int getReconnectRetryPeriodMillis()
Returns the length of time in milliseconds during which the persistent store will attempt to re-establish a connection to the database. Successive reconnection attempts will be attempted after a fixed delay that is specified by the reconnection retry interval.
The reconnection period applies to JDBC connections regardless of the database that is used for the JDBC store.
The default value is 1000
JDBCStoreMBean.setReconnectRetryPeriodMillis(int)
, JDBCStoreMBean.getReconnectRetryIntervalMillis()
, JDBCStoreMBean.setReconnectRetryIntervalMillis(int)
void setReconnectRetryIntervalMillis(int reconnectRetryIntervalMillis)
Set the length of time in milliseconds between reconnection attempts during the reconnection retry period.
The reconnection interval applies to JDBC connections regardless of the database that is used for the JDBC store.
int getReconnectRetryIntervalMillis()
The length of time in milliseconds between reconnection attempts during the reconnection retry period.
The reconnection interval applies to JDBC connections regardless of the database that is used for the JDBC store.
The default value is 200 milliseconds
JDBCStoreMBean.getReconnectRetryPeriodMillis()
, JDBCStoreMBean.setReconnectRetryPeriodMillis(int)
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |