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(Boolean alwaysRefresh)CachesetCoordinationType(String coordinationType)CachesetDatabaseChangeNotificationType(String databaseChangeNotificationType)CachesetDisableHits(Boolean disableHits)CachesetExpiry(Integer expiry)TimeOfDaysetExpiryTimeOfDay()CachesetIsolation(String isolation)CachesetRefreshOnlyIfNewer(Boolean refreshOnlyIfNewer)CachesetSize(Integer size)CachesetType(String type)-
Methods inherited from class org.eclipse.persistence.internal.jpa.config.MetadataImpl
getMetadata
-
-
-
-
Method Detail
-
setAlwaysRefresh
public Cache setAlwaysRefresh(Boolean alwaysRefresh)
- Specified by:
setAlwaysRefreshin interfaceCache
-
setCoordinationType
public Cache setCoordinationType(String coordinationType)
- Specified by:
setCoordinationTypein interfaceCache
-
setDatabaseChangeNotificationType
public Cache setDatabaseChangeNotificationType(String databaseChangeNotificationType)
- Specified by:
setDatabaseChangeNotificationTypein interfaceCache
-
setDisableHits
public Cache setDisableHits(Boolean disableHits)
- Specified by:
setDisableHitsin interfaceCache
-
setExpiryTimeOfDay
public TimeOfDay setExpiryTimeOfDay()
- Specified by:
setExpiryTimeOfDayin interfaceCache
-
setIsolation
public Cache setIsolation(String isolation)
- Specified by:
setIsolationin interfaceCache
-
setRefreshOnlyIfNewer
public Cache setRefreshOnlyIfNewer(Boolean refreshOnlyIfNewer)
- Specified by:
setRefreshOnlyIfNewerin interfaceCache
-
-