Changes in some common TIMs for 3.1

View: New views
1 Messages — Rating Filter:   Alert me  

Changes in some common TIMs for 3.1

by Alex Miller-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As a part of our upcoming 3.1 release, I wanted to mention that we  
have renamed a bunch of TIMs on the Terracotta Forge.  We'll be  
talking more about these in the release notes and in the docs when 3.1  
comes out but consider this a preview if you're on the bleeding edge.

tim-concurrent-collections
====================

This TIM is basically a holder for the ConcurrentStringMap we've had  
since 2.7.2 or so.  This data structure continues to be a key focus  
for us as the cornerstone of map-based components and has been  
substantially updated in 3.1 to improve performance, reduce memory,  
and make it more generic.  In particular, this data structure is no  
longer limited to String keys.

The new and improved version has been renamed and put in a new package:
        org.terracotta.collections.ConcurrentDistributedMap

The prior class  
(org.terracotta.modules.concurrent.collections.ConcurrentStringMap)  
still exists and is just a shell subclassing  
ConcurrentDistributedMap.  This class will still exist in 3.1 but is  
now deprecated.  We intend to remove it in the next major release.


tim-map-evictor
============

This TIM used to use a clustered ConcurrentHashMap and added a simple  
evictor that could provide cache-like functionality and eviction for  
TTI or TTL.  This code has also been substantially rewritten and  
upgraded to serve as the backing data structure for the Terracotta  
Second Level Cache for Hibernate.

The TIM itself has been renamed to:
        tim-distributed-cache

The interface (DistributedMap) and builder (DistributedMapBuilder)  
have been moved to a new package and renamed:
        org.terracotta.cache.DistributedCache
        org.terracotta.cache.DistributedCacheBuilder

       
tim-hibernate
==========

For a long time we have had a Hibernate TIM that provided support for  
a) clustered detached Hibernate entities and b) supporting clustered  
second level cache providers such as Ehcache.  Due to our Hibernate  
focus in this release and the new Hibernate second level cache, we  
have killed the old name and there are now a number of forge top-level  
project Hibernate TIMs.  Many of these are actually containers for TIM  
flavors supporting Hibernate 3.2 or 3.3.

- tim-hibernate-concurrency - an *internal* TIM holding Hibernate  
concurrency fixes used by the other tims - you should never need to  
specify this directly
- tim-hibernate-entity - prior support for Hibernate clustered  
detached entities
- tim-hibernate-cache-deprecated - prior support for Hibernate with  
clustered ehcache second level cache.
- tim-hibernate-cache - the brand new better than nachos Terracotta  
Hibernate second level cache!

There is much more to say about the new cache and a new deployment  
mode that does not require a boot jar but I'll leave that for the  
release!

Hope this is useful for some of you out there in user land...we're  
shooting for the first stable version of 3.1 around the end of the  
month.  All of the forge changes above are there now in the 3.1  
snapshots.




_______________________________________________
tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users