Release Notes for Gladstone Technology Preview2

The Gladstone Technology Preview features new and improved standalone Ehcache. This preview is limited to standalone Ehcache without Terracotta Server Array (TSA). Subsequent Tech Preview(s) will include TSA backed Ehcache.

Summary of Changes

Upgrading

If you are upgrading from a previous version of Ehcache, note the following changes.

If you are upgrading from a substantially older version of Ehcache, see the release notes for major intervening releases to learn about potential upgrade issues.

DiskStorePath Methods Removed

A CacheManager's diskstore path cannot be changed once it is set in configuration. If the diskstore path is changed, the CacheManager must be recycled for the new path to take effect.

The following methods, which implied that the diskstore path could be changed programmatically, have been removed:

The correct way to programmatically set a diskstore path is:


DiskStoreConfiguration diskStoreConfiguration = new
DiskStoreConfiguration();

diskStoreConfiguration.setPath("/my/path/dir");

// Already created a configuration object ...
configuration.addDiskStore(diskStoreConfiguration);

CacheManager mgr = new CacheManager(configuration);

CacheManager Creation Methods

CacheManager creation methods have evolved over the past few releases of Ehcache. To find out more about how CacheManager creation is handled, see this document.

OverflowToDisk and DiskPersistent Attributes Deprecated

Most disk persistence settings will continue to work, but it is recommended to use the new persistence strategy options. For more information, refer to this document.

New REST Agent and Ehcache Monitor

The new REST agent supports the new Terracotta Management Console (TMC), but not the Ehcache Monitor from previous versions of Ehcache. The Ehcache Monitor cannot be used with this release of Ehcache.

Platform Changes

Known Issues and Limitations

Please email any questions you have regarding the technology preview to pm <at> terracotta.org