cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <johnth...@gmail.com>
Subject Re: Explicitly invalidating all cached objects in a ServerRuntime/ObjectContext
Date Wed, 26 Oct 2016 15:16:55 GMT
A big, big soda.  If I don't have diabetes yet.   :-)

On Wed, Oct 26, 2016 at 9:57 AM Hugi Thordarson <hugi@karlmenn.is> wrote:

> I owe you a big, big beer. Or a soda if you prefer.
>
> Cheers,
> - hugi
>
>
> > On 26. okt. 2016, at 14:39, John Huss <johnthuss@gmail.com> wrote:
> >
> > Collection<?> allNodes = context.getGraphManager().registeredNodes();
> >
> > context.invalidateObjects(allNodes);
> >
> > On Wed, Oct 26, 2016 at 8:51 AM Hugi Thordarson <hugi@karlmenn.is>
> wrote:
> >
> >> Hi all.
> >> I’ve been fighting a little with caching in the past few days. Is there
> >> any way for me to just tell Cayenne invalidate all cached data? Just
> tell
> >> it that the universe as it know it is now invalid and all queries should
> >> fetch fresh data?
> >>
> >> Cheers,
> >> - hugi
>
>

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