Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E6B117408 for ; Fri, 24 Apr 2015 13:00:51 +0000 (UTC) Received: (qmail 47033 invoked by uid 500); 24 Apr 2015 13:00:43 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 47000 invoked by uid 500); 24 Apr 2015 13:00:43 -0000 Mailing-List: contact dev-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list dev@ignite.incubator.apache.org Received: (qmail 46972 invoked by uid 99); 24 Apr 2015 13:00:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 13:00:43 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=HTML_MESSAGE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of ognen.duzlevski@gmail.com does not designate 54.164.171.186 as permitted sender) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 13:00:36 +0000 Received: from mail-la0-f46.google.com (mail-la0-f46.google.com [209.85.215.46]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id D14A943E47 for ; Fri, 24 Apr 2015 13:00:15 +0000 (UTC) Received: by laat2 with SMTP id t2so34579076laa.1 for ; Fri, 24 Apr 2015 05:59:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=GU+YjBNwkxJ3SB3iNUp/9dkXhVg8TAl35WxUbNCa6JU=; b=Wwe/fCJHQLP/BwfRSCXqgUyD+cmzgglXOuubPmT2CNMIhtDMbO6LDLm7x3gdefijep N20ltNDPsSSKYQE3uecUFJfJNzjm/kko9k0Tk8++YhinK2rUZaZAsa3CzJ307IdgWe8s mcaT20E/ZJb3drXndNGQrDSEzKELmVqTY33kUx+syuJyfaEzeA4gbuhx4pph0/jMuWR0 hJyQhmvLv3od69XGdoee0Ko/z7ZAP2lJMAPw7/dlVWiSwESHjQ/YXSXN3iQwulvGkQ2q PHKz+o7/V8Vn1ajob2IWRq54WGrtneLGH5m3SbPNZjIuNdXDtSELp/8xlel2OLHh55K2 DpqA== X-Received: by 10.112.120.199 with SMTP id le7mr6760143lbb.48.1429880369766; Fri, 24 Apr 2015 05:59:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.255.36 with HTTP; Fri, 24 Apr 2015 05:58:49 -0700 (PDT) From: Ognen Duzlevski Date: Fri, 24 Apr 2015 07:58:49 -0500 Message-ID: Subject: Persistence of cache To: dev Content-Type: multipart/alternative; boundary=047d7beb975282e65f051477f7ab X-Virus-Checked: Checked by ClamAV on apache.org --047d7beb975282e65f051477f7ab Content-Type: text/plain; charset=UTF-8 Hello, Can someone point me to docs describing what happens to a named cache in the following situations? 1. Two separate programs access the same cache (one for reading, one for writing). The writer dies. Does the grid still keep the cache intact? 2. One program creates a cache in a multiple machine grid, writes something to it and unexpectedly dies. Does the cache automatically "go away" if no programs are accessing it anymore? What is the simplest way to persist the cache on disk for future use? I wrote a separate program to use the ContinuousQuery thing but I feel the cache engine itself should provide the functionality maybe. Thanks! --047d7beb975282e65f051477f7ab--