|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCReadAheadMetaData
Imutable class which holds all the information about read-ahead settings. It loads its data from standardjbosscmp-jdbc.xml and jbosscmp-jdbc.xml
Field Summary | |
static JDBCReadAheadMetaData |
DEFAULT
|
Constructor Summary | |
JDBCReadAheadMetaData(Element element,
JDBCReadAheadMetaData defaultValue)
Constructs read ahead meta data with the data contained in the read-ahead xml element from a jbosscmp-jdbc xml file. |
|
JDBCReadAheadMetaData(String strategy,
int pageSize,
String eagerLoadGroup)
Constructs read ahead meta data with specified strategy, pageSize and eagerLoadGroup. |
|
JDBCReadAheadMetaData(String strategy,
int pageSize,
String eagerLoadGroup,
List leftJoins)
|
Method Summary | |
String |
getEagerLoadGroup()
Gets the eager load group. |
Iterator |
getLeftJoins()
|
int |
getPageSize()
Gets the read ahead page size. |
boolean |
isNone()
Is read ahead strategy is none. |
boolean |
isOnFind()
Is the read ahead stratey on-find |
boolean |
isOnLoad()
Is the read ahead stratey on-load |
String |
toString()
Returns a string describing this JDBCReadAheadMetaData. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final JDBCReadAheadMetaData DEFAULT
Constructor Detail |
public JDBCReadAheadMetaData(String strategy, int pageSize, String eagerLoadGroup)
public JDBCReadAheadMetaData(String strategy, int pageSize, String eagerLoadGroup, List leftJoins)
public JDBCReadAheadMetaData(Element element, JDBCReadAheadMetaData defaultValue) throws org.jboss.deployment.DeploymentException
element
- the xml Element which contains the read-ahead metadata
org.jboss.deployment.DeploymentException
- if the xml element is invalidMethod Detail |
public boolean isNone()
public boolean isOnLoad()
public boolean isOnFind()
public int getPageSize()
public String getEagerLoadGroup()
public Iterator getLeftJoins()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |