tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgjava <>
Subject GeneratedCacheKey
Date Wed, 02 Sep 2015 18:18:14 GMT
I've implemented a simple StringGeneratedCacheKey based on your
The only thing I did was add toString in order to make logging/debugging
easier. See:

Then direct lookup is simple matter of:

final StringGeneratedCacheKey key = new StringGeneratedCacheKey("key1");
final String value = testCache.get(key);

Thanks Romain for the good info.

View this message in context:
Sent from the TomEE Users mailing list archive at

View raw message