Added the JIRA here, including the other suggested changes to the cellar
2.2.3 trunk:

https://issues.apache.org/jira/browse/KARAF-865

To explain further what I am trying to do on shutdown.

Some of the data I will store to Hazelcast will be instance specific data
(e.g. for example who is connected to the current karaf instance). This
immediately becomes invalid if the karaf instance shuts down (as a user
cannot be connected to a karaf instance that isn't running).

Any users of this instance-specific data will, of course, need to check
somehow whether this data is invalid (since the specific karaf instance may
shutdown abnormally, by a "kill -9" or a power loss). However, it would be
nice on a clean shutdown to be able to make sure all the specific instance
data is cleared. One way to clear it is to clean it out is to delete invalid
entries in Activator.stop. But to do this the Hazelcast instance would still
need to be active at that time (which I am finding is not always the case).

Does this make sense? What do you think?

thanks in advance,
Gareth


--
View this message in context: 
http://karaf.922171.n3.nabble.com/Adding-Additional-Cellar-Map-Configuration-tp3305655p3339401.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to