|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
JDBCSystemResourceMBean |
getDataSource()
The JDBC data source used by this JDBC store to access its backing table. |
int |
getDeletesPerBatchMaximum()
The maximum number of table rows that are deleted per database call. |
int |
getDeletesPerStatementMaximum()
The maximum number of table rows that are deleted per database call. |
int |
getInsertsPerBatchMaximum()
The maximum number of table rows that are inserted per database call. |
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. |
int |
getWorkerCount()
The number of JDBC store worker threads to process the workerload. |
int |
getWorkerPreferredBatchSize()
Specifies the batch size when the Worker Count attribute is
configured to a value greater than 1. |
void |
setDataSource(JDBCSystemResourceMBean dataSource)
Sets the value of the DataSource
attribute. |
void |
setDeletesPerBatchMaximum(int deletesPerBatchMaximum)
Sets the value of the DeletesPerBatchMaximum
attribute. |
void |
setDeletesPerStatementMaximum(int deletesPerBatchMaximum)
Sets the value of the DeletesPerStatementMaximum
attribute. |
void |
setInsertsPerBatchMaximum(int deletesPerBatchMaximum)
Sets the value of the InsertsPerBatchMaximu
attribute. |
void |
setThreeStepThreshold(int threeStepThreshold)
Sets the value of the ThreeStepThreshold attribute. |
void |
setWorkerCount(int workerCount)
Sets the value of the WorkerCount attribute. |
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, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled |
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 |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
getDeploymentOrder, setDeploymentOrder |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled |
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()
|
Copyright 1996, 2013, 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.1.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |