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 36D63200CAA for ; Sat, 17 Jun 2017 20:04:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 34B5E160BF2; Sat, 17 Jun 2017 18:04: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 7BB6D160BEF for ; Sat, 17 Jun 2017 20:04:56 +0200 (CEST) Received: (qmail 94640 invoked by uid 500); 17 Jun 2017 18:04:41 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 94469 invoked by uid 99); 17 Jun 2017 18:04:41 -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; Sat, 17 Jun 2017 18:04:41 +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 54B4A1A045A for ; Sat, 17 Jun 2017 18:04:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id bZ1EERbOPexb for ; Sat, 17 Jun 2017 18:04:40 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 129C96110E for ; Sat, 17 Jun 2017 18:04:30 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 31749E0E06 for ; Sat, 17 Jun 2017 18:04:29 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6D5C12424E for ; Sat, 17 Jun 2017 18:04:22 +0000 (UTC) Date: Sat, 17 Jun 2017 18:04:22 +0000 (UTC) From: "Anthony Baker (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (GEODE-2217) Add generic type parameter to FunctionContext interface MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 17 Jun 2017 18:04:57 -0000 [ https://issues.apache.org/jira/browse/GEODE-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Baker closed GEODE-2217. -------------------------------- > Add generic type parameter to FunctionContext interface > ------------------------------------------------------- > > Key: GEODE-2217 > URL: https://issues.apache.org/jira/browse/GEODE-2217 > Project: Geode > Issue Type: Bug > Components: functions > Reporter: Jared Stewart > Assignee: Alyssa Kim > Fix For: 1.2.0 > > > FunctionContext has a method getArguments() that returns Object. It would be nice to have getArguments return a known type instead. > ``` > public interface FunctionContext { > public T getArguments(); > } > ``` > The Function interface would then allow users to bound the expected argument type: > ``` > public interface Function { > public void execute(FunctionContext context); > } > ``` -- This message was sent by Atlassian JIRA (v6.4.14#64029)