Deprecated
as a consequence of CacheProvider being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| protected volatile CacheManager | manager
CacheManager instance that creates/builds Cache instances for this provider. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final Cache | Returns: a newly built cache will be built and initialisedthe name of the cache. Must match a cache configured in ehcache.xml name, Properties not used properties)Implements org.
Deprecated
as a consequence of
Builds a Cache.
Cache being deprecated.
|
| public final boolean | Returns: true, optimize for minimal putsImplements org. |
| protected URL | |
| public final long | nextTimestamp()
Implements org. |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| manager | back to summary |
|---|---|
| protected volatile CacheManager manager CacheManager instance that creates/builds Cache instances for this provider. | |
| AbstractEhcacheProvider | back to summary |
|---|---|
| pack-priv AbstractEhcacheProvider() | |
| buildCache | back to summary |
|---|---|
| public final Cache buildCache(String name, Properties properties) throws CacheException Implements org. Deprecated as a consequence of Builds a Cache. Even though this method provides properties, they are not used. Properties for EHCache are specified in the ehcache.xml file. Configuration will be read from ehcache.xml for a cache declaration where the name attribute matches the name parameter in this builder.
| |
| isMinimalPutsEnabledByDefault | back to summary |
|---|---|
| public final boolean isMinimalPutsEnabledByDefault() Implements org. Whether to optimize for minimals puts or minimal gets. Indicates whether when operating in non-strict read/write or read-only mode Hibernate should optimize the access patterns for minimal puts or minimal gets. In Ehcache we default to minimal puts since this should have minimal to no affect on unclustered users, and has great benefit for clustered users. This setting can be overridden by setting the "hibernate.cache.use_minimal_puts" property in the Hibernate configuration.
| |
| loadResource | back to summary |
|---|---|
| protected URL loadResource(String configurationResourceName) Load the supplied resource from the classpath. | |
| nextTimestamp | back to summary |
|---|---|
| public final long nextTimestamp() Implements org. Returns the next timestamp. | |