geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-3571) API should move from factory pattern to builder pattern and fluent model
Date Tue, 28 Nov 2017 17:48:00 GMT

    [ https://issues.apache.org/jira/browse/GEODE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16269136#comment-16269136
] 

ASF GitHub Bot commented on GEODE-3571:
---------------------------------------

mhansonp commented on a change in pull request #158: feature/GEODE-3571
URL: https://github.com/apache/geode-native/pull/158#discussion_r153570308
 
 

 ##########
 File path: clicache/src/geode_defs.hpp
 ##########
 @@ -33,6 +33,11 @@
 // Disable native code generation warning
 #pragma warning(disable: 4793)
 
+// Disable Native Conditional Unique warning
+#pragma warning(disable: 4383)
+
+// C4103alignment changed after including header, may be due to missing #pragma pack(pop)
+#pragma warning(disable: 4103)
 
 Review comment:
   These two warnings were causing over 1000 warnings, so I could not see the warnings I was
generating. I took them out as they are CLI related, but not real issues.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> API should move from factory pattern to builder pattern and fluent model
> ------------------------------------------------------------------------
>
>                 Key: GEODE-3571
>                 URL: https://issues.apache.org/jira/browse/GEODE-3571
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Mark Hanson
>
> Discussion here http://markmail.org/thread/femkjloasj4yzvoj
> The basic idea is to move away from the creation of generic objects which are then further
specified to  specifying the object in advance then creating the more specific object.
> This in addition to using a model where with each attribute set on an object, the this
pointer is provided as the return value. This allows call chaining.
> Obvious target changes include 
> CacheFactory
> DistributedSystem
> AttributesFactory



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message