| java.lang.Object org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCReadAheadMetaData
JDBCReadAheadMetaData | public class JDBCReadAheadMetaData (Code) | | Imutable class which holds all the information about read-ahead settings.
It loads its data from standardjbosscmp-jdbc.xml and jbosscmp-jdbc.xml
author: Oleg Nitz author: Alexey Loubyansky version: $Revision: 57209 $ |
JDBCReadAheadMetaData | public JDBCReadAheadMetaData(String strategy, int pageSize, String eagerLoadGroup)(Code) | | Constructs read ahead meta data with specified strategy, pageSize and
eagerLoadGroup.
NOTE: used only in tests.
|
JDBCReadAheadMetaData | public JDBCReadAheadMetaData(String strategy, int pageSize, String eagerLoadGroup, List leftJoins)(Code) | | |
JDBCReadAheadMetaData | public JDBCReadAheadMetaData(Element element, JDBCReadAheadMetaData defaultValue) throws DeploymentException(Code) | | Constructs read ahead meta data with the data contained in the read-ahead
xml element from a jbosscmp-jdbc xml file. Optional values of the xml
element that are not present are instead loaded from the defalutValues
parameter.
Parameters: element - the xml Element which contains the read-ahead metadata throws: DeploymentException - if the xml element is invalid |
getEagerLoadGroup | public String getEagerLoadGroup()(Code) | | Gets the eager load group.
|
getPageSize | public int getPageSize()(Code) | | Gets the read ahead page size.
|
isNone | public boolean isNone()(Code) | | Is read ahead strategy is none.
|
isOnFind | public boolean isOnFind()(Code) | | Is the read ahead stratey on-find
|
isOnLoad | public boolean isOnLoad()(Code) | | Is the read ahead stratey on-load
|
toString | public String toString()(Code) | | Returns a string describing this JDBCReadAheadMetaData.
a string representation of the object |
|
|