Class CacheImpl
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.config.MetadataImpl<CacheMetadata>
-
- org.eclipse.persistence.internal.jpa.config.cache.CacheImpl
-
- All Implemented Interfaces:
Cache
public class CacheImpl extends MetadataImpl<CacheMetadata> implements Cache
JPA scripting API implementation.- Since:
- EclipseLink 2.5.1
- Author:
- Guy Pelletier
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.config.MetadataImpl
metadata
-
-
Constructor Summary
Constructors Constructor Description CacheImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachesetAlwaysRefresh(java.lang.Boolean alwaysRefresh)CachesetCoordinationType(java.lang.String coordinationType)CachesetDatabaseChangeNotificationType(java.lang.String databaseChangeNotificationType)CachesetDisableHits(java.lang.Boolean disableHits)CachesetExpiry(java.lang.Integer expiry)TimeOfDaysetExpiryTimeOfDay()CachesetIsolation(java.lang.String isolation)CachesetRefreshOnlyIfNewer(java.lang.Boolean refreshOnlyIfNewer)CachesetShared(java.lang.Boolean shared)CachesetSize(java.lang.Integer size)CachesetType(java.lang.String type)-
Methods inherited from class org.eclipse.persistence.internal.jpa.config.MetadataImpl
getMetadata
-
-
-
-
Method Detail
-
setAlwaysRefresh
public Cache setAlwaysRefresh(java.lang.Boolean alwaysRefresh)
- Specified by:
setAlwaysRefreshin interfaceCache
-
setCoordinationType
public Cache setCoordinationType(java.lang.String coordinationType)
- Specified by:
setCoordinationTypein interfaceCache
-
setDatabaseChangeNotificationType
public Cache setDatabaseChangeNotificationType(java.lang.String databaseChangeNotificationType)
- Specified by:
setDatabaseChangeNotificationTypein interfaceCache
-
setDisableHits
public Cache setDisableHits(java.lang.Boolean disableHits)
- Specified by:
setDisableHitsin interfaceCache
-
setExpiry
public Cache setExpiry(java.lang.Integer expiry)
-
setExpiryTimeOfDay
public TimeOfDay setExpiryTimeOfDay()
- Specified by:
setExpiryTimeOfDayin interfaceCache
-
setIsolation
public Cache setIsolation(java.lang.String isolation)
- Specified by:
setIsolationin interfaceCache
-
setRefreshOnlyIfNewer
public Cache setRefreshOnlyIfNewer(java.lang.Boolean refreshOnlyIfNewer)
- Specified by:
setRefreshOnlyIfNewerin interfaceCache
-
setShared
public Cache setShared(java.lang.Boolean shared)
-
-