|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EclipseLinkCaching
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Method Summary | |
|---|---|
EclipseLinkExpiryTimeOfDay |
addExpiryTimeOfDay()
Add Cache expiryTimeOfDay annotation or xml element, this will set Expiry to null as it is not valid to set both expiry and timeOfDayExpiry |
EclipseLinkCacheCoordinationType |
getCoordinationType()
This is the combination of defaultCoordinationType and specifiedCoordinationType. |
EclipseLinkCacheCoordinationType |
getDefaultCoordinationType()
|
EclipseLinkExistenceType |
getDefaultExistenceType()
|
int |
getDefaultSize()
|
EclipseLinkCacheType |
getDefaultType()
|
EclipseLinkExistenceType |
getExistenceType()
This is the combination of defaultExistenceType and specifiedExistenceType. |
java.lang.Integer |
getExpiry()
corresponds to the Cache expiry element. |
EclipseLinkExpiryTimeOfDay |
getExpiryTimeOfDay()
corresponds to the Cache expiryTimeOfDay annotation or xml element. |
int |
getSize()
This is the combination of defaultSize and specifiedSize. |
java.lang.Boolean |
getSpecifiedAlwaysRefresh()
|
EclipseLinkCacheCoordinationType |
getSpecifiedCoordinationType()
|
java.lang.Boolean |
getSpecifiedDisableHits()
|
EclipseLinkExistenceType |
getSpecifiedExistenceType()
|
java.lang.Boolean |
getSpecifiedRefreshOnlyIfNewer()
|
java.lang.Boolean |
getSpecifiedShared()
|
java.lang.Integer |
getSpecifiedSize()
|
EclipseLinkCacheType |
getSpecifiedType()
|
EclipseLinkCacheType |
getType()
This is the combination of defaultType and specifiedType. |
boolean |
isAlwaysRefresh()
This is the combination of defaultAlwaysRefresh and specifiedAlwaysRefresh. |
boolean |
isDefaultAlwaysRefresh()
|
boolean |
isDefaultDisableHits()
|
boolean |
isDefaultRefreshOnlyIfNewer()
|
boolean |
isDefaultShared()
|
boolean |
isDisableHits()
This is the combination of defaultDisableHits and specifiedDisableHits. |
boolean |
isRefreshOnlyIfNewer()
This is the combination of defaultRefreshOnlyIfNewer and specifiedRefreshOnlyIfNewer. |
boolean |
isShared()
This is the combination of defaultShared and specifiedShared. |
void |
removeExpiryTimeOfDay()
Removes the Cache expiryTimeOfDay annotation/xml element |
void |
setExpiry(java.lang.Integer expiry)
Setting this to a non-null value will set timeOfDayExpiry to null |
void |
setSpecifiedAlwaysRefresh(java.lang.Boolean newSpecifiedAlwaysRefresh)
|
void |
setSpecifiedCoordinationType(EclipseLinkCacheCoordinationType newSpecifiedCoordinationType)
|
void |
setSpecifiedDisableHits(java.lang.Boolean newSpecifiedDisableHits)
|
void |
setSpecifiedExistenceType(EclipseLinkExistenceType newSpecifiedExistenceType)
|
void |
setSpecifiedRefreshOnlyIfNewer(java.lang.Boolean newSpecifiedRefreshOnlyIfNewer)
|
void |
setSpecifiedShared(java.lang.Boolean newSpecifiedShared)
Setting this to false means that cacheType, cacheSize, alwaysRefresh, refreshOnlyIfNewer, disableHits, cacheCoordinationType will all be set to their default states. |
void |
setSpecifiedSize(java.lang.Integer newSpecifiedSize)
|
void |
setSpecifiedType(EclipseLinkCacheType newSpecifiedType)
|
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.JpaNode |
|---|
getJpaProject, getParent |
| Methods inherited from interface org.eclipse.jpt.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.core.IResourcePart |
|---|
getResource |
| Field Detail |
|---|
static final java.lang.String DEFAULT_SHARED_PROPERTY
static final boolean DEFAULT_SHARED
static final java.lang.String SPECIFIED_SHARED_PROPERTY
static final java.lang.String DEFAULT_TYPE_PROPERTY
static final EclipseLinkCacheType DEFAULT_TYPE
static final java.lang.String SPECIFIED_TYPE_PROPERTY
static final int DEFAULT_SIZE
static final java.lang.String DEFAULT_SIZE_PROPERTY
static final java.lang.String SPECIFIED_SIZE_PROPERTY
static final java.lang.String DEFAULT_ALWAYS_REFRESH_PROPERTY
static final boolean DEFAULT_ALWAYS_REFRESH
static final java.lang.String SPECIFIED_ALWAYS_REFRESH_PROPERTY
static final java.lang.String DEFAULT_REFRESH_ONLY_IF_NEWER_PROPERTY
static final boolean DEFAULT_REFRESH_ONLY_IF_NEWER
static final java.lang.String SPECIFIED_REFRESH_ONLY_IF_NEWER_PROPERTY
static final java.lang.String DEFAULT_DISABLE_HITS_PROPERTY
static final boolean DEFAULT_DISABLE_HITS
static final java.lang.String SPECIFIED_DISABLE_HITS_PROPERTY
static final java.lang.String DEFAULT_COORDINATION_TYPE_PROPERTY
static final EclipseLinkCacheCoordinationType DEFAULT_COORDINATION_TYPE
static final java.lang.String SPECIFIED_COORDINATION_TYPE_PROPERTY
static final java.lang.String DEFAULT_EXISTENCE_TYPE_PROPERTY
static final EclipseLinkExistenceType DEFAULT_EXISTENCE_TYPE
static final java.lang.String SPECIFIED_EXISTENCE_TYPE_PROPERTY
static final java.lang.String EXPIRY_PROPERTY
static final java.lang.String EXPIRY_TIME_OF_DAY_PROPERTY
| Method Detail |
|---|
boolean isShared()
boolean isDefaultShared()
java.lang.Boolean getSpecifiedShared()
void setSpecifiedShared(java.lang.Boolean newSpecifiedShared)
newSpecifiedShared - EclipseLinkCacheType getType()
EclipseLinkCacheType getDefaultType()
EclipseLinkCacheType getSpecifiedType()
void setSpecifiedType(EclipseLinkCacheType newSpecifiedType)
int getSize()
int getDefaultSize()
java.lang.Integer getSpecifiedSize()
void setSpecifiedSize(java.lang.Integer newSpecifiedSize)
boolean isAlwaysRefresh()
boolean isDefaultAlwaysRefresh()
java.lang.Boolean getSpecifiedAlwaysRefresh()
void setSpecifiedAlwaysRefresh(java.lang.Boolean newSpecifiedAlwaysRefresh)
boolean isRefreshOnlyIfNewer()
boolean isDefaultRefreshOnlyIfNewer()
java.lang.Boolean getSpecifiedRefreshOnlyIfNewer()
void setSpecifiedRefreshOnlyIfNewer(java.lang.Boolean newSpecifiedRefreshOnlyIfNewer)
boolean isDisableHits()
boolean isDefaultDisableHits()
java.lang.Boolean getSpecifiedDisableHits()
void setSpecifiedDisableHits(java.lang.Boolean newSpecifiedDisableHits)
EclipseLinkCacheCoordinationType getCoordinationType()
EclipseLinkCacheCoordinationType getDefaultCoordinationType()
EclipseLinkCacheCoordinationType getSpecifiedCoordinationType()
void setSpecifiedCoordinationType(EclipseLinkCacheCoordinationType newSpecifiedCoordinationType)
EclipseLinkExistenceType getExistenceType()
EclipseLinkExistenceType getDefaultExistenceType()
EclipseLinkExistenceType getSpecifiedExistenceType()
void setSpecifiedExistenceType(EclipseLinkExistenceType newSpecifiedExistenceType)
java.lang.Integer getExpiry()
void setExpiry(java.lang.Integer expiry)
expiry - EclipseLinkExpiryTimeOfDay getExpiryTimeOfDay()
EclipseLinkExpiryTimeOfDay addExpiryTimeOfDay()
void removeExpiryTimeOfDay()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||