You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by Michael Stevens <ms...@etla.org> on 2007/04/05 13:14:01 UTC
possible patch to clear caches on lateral connection
Hi.
I'm writing an app using JCS and the lateral tcp cache.
I want to be able to flush the cache when lateral instances connect to
each other, in an effort to ensure consistency between the machines.
I see two approaches:
1) I could patch JCS to provide connect/disconnect events to
subscribers. Then I can make my application code clear things as
necessary.
2) I could try to patch JCS to flush both sides on connect, possibly
providing a config option.
Does this make sense? What do people think?
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org