You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:57:32 UTC
[jira] [Closed] (GEODE-4674) Make callbackArg an optional parameter
in IRegion methods (Put, PutAll, etc)
[ https://issues.apache.org/jira/browse/GEODE-4674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-4674.
--------------------------------
> Make callbackArg an optional parameter in IRegion methods (Put, PutAll, etc)
> ----------------------------------------------------------------------------
>
> Key: GEODE-4674
> URL: https://issues.apache.org/jira/browse/GEODE-4674
> Project: Geode
> Issue Type: Improvement
> Components: native client
> Reporter: Ryan McMahon
> Priority: Major
>
> The callbackArg should be an optional parameter because a user may not have any event handlers e.g. CacheWriters defined. The Java API has an overload for Put() which does not have callbackArgs, but the C# API does not. C# allows for optional parameters which would be a good fit here.
> Example:
> IRegion(TKey key, TValue value, object callbackArg = null);
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)