Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EF5C7200D2E for ; Tue, 17 Oct 2017 00:36:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EDF85160BE9; Mon, 16 Oct 2017 22:36:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 66E3E1609EF for ; Tue, 17 Oct 2017 00:36:57 +0200 (CEST) Received: (qmail 99077 invoked by uid 500); 16 Oct 2017 22:36:56 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 99067 invoked by uid 99); 16 Oct 2017 22:36:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2017 22:36:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B12351A2ABD for ; Mon, 16 Oct 2017 22:36:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.172 X-Spam-Level: ** X-Spam-Status: No, score=2.172 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qcOAo-cO9U1E for ; Mon, 16 Oct 2017 22:36:54 +0000 (UTC) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 866B45F3D1 for ; Mon, 16 Oct 2017 22:36:54 +0000 (UTC) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id CCEC324B303D for ; Mon, 16 Oct 2017 15:36:53 -0700 (MST) Date: Mon, 16 Oct 2017 15:36:53 -0700 (MST) From: matt To: user@ignite.apache.org Message-ID: <1508193413836-0.post@n6.nabble.com> Subject: Custom CacheStoreAdapter implementation - fields are null MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Mon, 16 Oct 2017 22:36:58 -0000 Hi, I've implemented a CacheStoreAdapter and am seeing that when Ignite starts to use this class (loadAll, etc.) the fields that I set in my constructor with values, are null when the methods are called. I realized there's something I'm doing wrong in terms of how my CacheStoreAdapter is serialized, but not sure what to do. The values passed into my CacheStoreAdapter constructor, are arbitrary, but one includes an http client and another is a basic Java class used for cache key/field mapping. How can I make sure that my adapter has access to the objects it requires when Ignite is calling on it? Thanks, Matt -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/