[ 
https://issues.apache.org/jira/browse/GEODE-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Addison updated GEODE-2729:
---------------------------
    Description: 
*Context*
Today, the native client uses singleton global variables to manage things like 
the cache.  These prove troublesome when moving between managed and unmanaged 
code. Another benefit of moving away from the globals is improved unit testing. 
 This will increase the overall testing feedback loop.

*Goal*
Remove these singletons in favor non-global constructors, destructors, etc.

Improved stability when calling functions that move between managed and 
unmanaged code.

*Definition of Done*
Remove all integration tests in favor of well encapsulated unit tests.

  was:
**Context**
Today, the native client uses singleton global variables to manage things like 
the cache.  These prove troublesome when moving between managed and unmanaged 
code. Another benefit of moving away from the globals is improved unit testing. 
 This will increase the overall testing feedback loop.

**Goal**
Remove these singletons in favor non-global constructors, destructors, etc.

Improved stability when calling functions that move between managed and 
unmanaged code.


> Improve Native Client Stability by removing global variables
> ------------------------------------------------------------
>
>                 Key: GEODE-2729
>                 URL: https://issues.apache.org/jira/browse/GEODE-2729
>             Project: Geode
>          Issue Type: Wish
>          Components: native client
>            Reporter: Addison
>
> *Context*
> Today, the native client uses singleton global variables to manage things 
> like the cache.  These prove troublesome when moving between managed and 
> unmanaged code. Another benefit of moving away from the globals is improved 
> unit testing.  This will increase the overall testing feedback loop.
> *Goal*
> Remove these singletons in favor non-global constructors, destructors, etc.
> Improved stability when calling functions that move between managed and 
> unmanaged code.
> *Definition of Done*
> Remove all integration tests in favor of well encapsulated unit tests.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to