You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ryan McMahon (JIRA)" <ji...@apache.org> on 2018/02/14 17:52:01 UTC
[jira] [Created] (GEODE-4674) Make callbackArg an optional
parameter in IRegion methods (Put, PutAll, etc)
Ryan McMahon created GEODE-4674:
-----------------------------------
Summary: 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
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)