curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Vines <vi...@apache.org>
Subject Cache block on start
Date Tue, 11 Jun 2013 02:27:06 GMT
I'm using a PathChildrenCache for maintaining some state information in my
code, including a listener event. But when I first start up my process it
takes a while for the cache to update (and subsequently the listener events
to trigger and populate another cache). Is there a way to force the cache
to build, at start time or otherwise, that will still trigger listener
events? I have no guarantees that the listeners will trigger when I start,
so I cannot poll on that either.

Thanks
John

Mime
View raw message