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 2117C200B68 for ; Fri, 5 Aug 2016 00:24:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1F7A2160AAE; Thu, 4 Aug 2016 22:24:28 +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 677B3160AAB for ; Fri, 5 Aug 2016 00:24:27 +0200 (CEST) Received: (qmail 8937 invoked by uid 500); 4 Aug 2016 22:24:26 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 8924 invoked by uid 99); 4 Aug 2016 22:24:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2016 22:24:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D9131C7217 for ; Thu, 4 Aug 2016 22:24:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.863 X-Spam-Level: *** X-Spam-Status: No, score=3.863 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, PYZOR_CHECK=1.985, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 1yWoSBdnf3x7 for ; Thu, 4 Aug 2016 22:24:24 +0000 (UTC) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0096.outbound.protection.outlook.com [104.47.37.96]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 29FB55FAEE for ; Thu, 4 Aug 2016 22:24:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ajxWuvTlB0+joMJ3JlwLfdm6VXZ5/B/21QvI8mLIWg8=; b=KFOzyzJy15k09T0s7rhiyw2bvwzZtkjFcrQVSesZZuAU8iLoMgSZXRk1OfgRpxaKbnryvpTd+5xbuL6jMVYOQLG1ACfUBsPQJLsCvSBxDt0liou9jy/y7tpxxS4Gw9n92zoussC0zhcPEbldfYZ4eWUvbq4kTn/xykX5E2497Wc= Received: from BN3PR03MB2179.namprd03.prod.outlook.com (10.166.73.150) by BN3PR03MB2179.namprd03.prod.outlook.com (10.166.73.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Thu, 4 Aug 2016 22:24:16 +0000 Received: from BN3PR03MB2179.namprd03.prod.outlook.com ([10.166.73.150]) by BN3PR03MB2179.namprd03.prod.outlook.com ([10.166.73.150]) with mapi id 15.01.0549.023; Thu, 4 Aug 2016 22:24:16 +0000 From: Mariia Mykhailova To: "dev@reef.apache.org" Subject: Why IMRU IMapFunction and IUpdateFunction are not disposable? Thread-Topic: Why IMRU IMapFunction and IUpdateFunction are not disposable? Thread-Index: AdHunpjd0vBhlpbvTUqSkDsn75tUVA== Date: Thu, 4 Aug 2016 22:24:16 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mamykhai@microsoft.com; x-originating-ip: [2001:4898:80e8:3::3ba] x-ms-office365-filtering-correlation-id: fc4a3f54-d15f-4022-c34b-08d3bcb61225 x-microsoft-exchange-diagnostics: 1;BN3PR03MB2179;6:x/3viaDYfDULq4j/ASMX5zoJMGjhI4GaJE+nukrr2kuhR7gNZRAxMJt4Jlz+W8jrwW9mYoom/Pj095TQvbIyXF8qTz1KjBJoisUkBlZKy9quRLF2s7r2U5oQFAol13I8vjuLreAEYXzTY4tmmFnyqw8+Fv/Pdsu2BDIuS63VMe1ADi+Th0CAjWp8K/UiKq2pLQW/tipG2ZJteywMV90AZdnZupFkZqinNsI6UvQiLqjfT4Uvuu9MUdtYC7dDJwfw0Pyp2iqj9n1LWmDrtyPw79bhzhZ141FMl+4L+nm0YDOLlGPQhZFec2Du10NRivAffbQBGNhZWvMyDnp6TAnB3w==;5:5eTAtaT6dS/9h2g+ryFoHCOeEYJuIkSGrdDtrsi3kuggUmFxIC2aqvH4RVRoTAUQGYoOAWMVKjjFhfZkcdcpCoErBwvRqBU9Blh4JM5VbFiF5TXV7n5SWvITKvt21EXbqFVRu0hFrW/9vtTG6gj9mw==;24:5EoNancr0Z4TTQQc2bykLF0xIDc/SZPvE+/39Ku64kXvJlHFzXBCQJ8djhOzlruhjqOslhffPoGdLdte1kcFwClqfaY/95Dc3+f6hVIHjrU=;7:xhcFRUprb/fnRpCxDaNsyVXPHHOwNdkifXZhuFOOrrG+SPhNiR+keacI2ati7SftLostUqUS+75Gw4QqS7SUWIIbcInEcNpGgBY4vrjPDL82dwzblEp5s7+GIJkGRKD8tp28dDbz7Q0ukH04xfVBazAj5kMqX3wYFpQgjSR7rHw71obcbXzJ2oVN9+gG2uW/AXX/r20z4cuVF+HFL5U/mZvKDLWxsOyI55VXGt6bbHEuX5mMKo2jfT6kJqI2WQsW x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB2179; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(61426038)(61427038);SRVR:BN3PR03MB2179;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB2179; x-forefront-prvs: 00246AB517 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(199003)(189002)(77096005)(558084003)(105586002)(87936001)(110136002)(19300405004)(99286002)(9686002)(2906002)(97736004)(86362001)(101416001)(15975445007)(19625215002)(50986999)(2900100001)(74316002)(107886002)(76576001)(54356999)(68736007)(86612001)(33656002)(7736002)(7846002)(7696003)(586003)(790700001)(102836003)(6116002)(16236675004)(10090500001)(450100001)(5002640100001)(3660700001)(11100500001)(8990500004)(8936002)(3280700002)(2501003)(81166006)(81156014)(1730700003)(2351001)(106356001)(122556002)(8676002)(9326002)(19580395003)(229853001)(5005710100001)(92566002)(189998001)(10400500002)(10290500002)(3826002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR03MB2179;H:BN3PR03MB2179.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BN3PR03MB217958CA983A22FC21FBB8EDD2070BN3PR03MB2179namp_" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Aug 2016 22:24:16.2485 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB2179 archived-at: Thu, 04 Aug 2016 22:24:28 -0000 --_000_BN3PR03MB217958CA983A22FC21FBB8EDD2070BN3PR03MB2179namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, It seems that map and update functions in IMRU should be disposable, becaus= e they are user-provided and stateful and thus might have some resources wh= ich should be released after job completion. Is there a reason why they are= not disposable? -Mariia --_000_BN3PR03MB217958CA983A22FC21FBB8EDD2070BN3PR03MB2179namp_--