incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ioannis Canellos <ioca...@gmail.com>
Subject Re: DirectMemory in OSGi.
Date Wed, 19 Oct 2011 22:34:47 GMT
I am not sure if I understand it correctly. So please correct me if I am
wrong.

You mean that you want to keep Cache as a singleton, but maybe add something
like CacheInstance which will not be a singleton?

If I understand it right, we could then have Cache use a static reference to
Cache instance and do the work, right?

This is similar to how Hazelcast works and yes it would work for OSGi.
-- 
*Ioannis Canellos*
*
FuseSource <http://fusesource.com>

**
Blog: http://iocanel.blogspot.com
**
Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache ServiceMix <http://servicemix.apache.org/>  Committer
Apache Gora <http://incubator.apache.org/gora/> Committer
*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message