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 E0A3E10193 for ; Tue, 27 Jan 2015 07:39:56 +0000 (UTC) Received: (qmail 47740 invoked by uid 500); 27 Jan 2015 07:39:57 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 47695 invoked by uid 500); 27 Jan 2015 07:39:57 -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 47684 invoked by uid 99); 27 Jan 2015 07:39:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 07:39:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 27 Jan 2015 07:39:56 +0000 Received: (qmail 47421 invoked by uid 99); 27 Jan 2015 07:39:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 07:39:36 +0000 Date: Tue, 27 Jan 2015 07:39:36 +0000 (UTC) From: "Sergey Evdokimov (JIRA)" To: dev@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-137) IgniteCache.enableAsync() should return same instance for different call. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Sergey Evdokimov created IGNITE-137: --------------------------------------- Summary: IgniteCache.enableAsync() should return same instance for different call. Key: IGNITE-137 URL: https://issues.apache.org/jira/browse/IGNITE-137 Project: Ignite Issue Type: Task Reporter: Sergey Evdokimov Priority: Trivial IgniteCache.enableAsync() should return same instance to allow to write following code: {code} cache.enableAsync().put(1, "a"); Future fut = cache.enableAsync().future() {code} Without creation a variable to store cache.enableAsync(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)