geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-4517) Remove singleton calls from product code in
Date Fri, 02 Mar 2018 17:31:00 GMT


ASF subversion and git services commented on GEODE-4517:

Commit 7ec3956ea78ba3b3b448a0aef9d3703d8ed5a385 in geode's branch refs/heads/develop from
[;h=7ec3956 ]

GEODE-4517: Remove getAnyInstancce call from CliUtil.

* CliUtil.getCacheIfExists now takes supplier, but will squelch error and return null as before.
* LogWriter.getInstance now explicitly takes a Cache, to hook into the cache's LogWriter.
 This perhaps should be replaced by the LogService logger in a future commit.
* GfshExecutionStrategy adopts the Gfsh shell's LogWriter, since the shell will necessarily
have finished instantiating the LogWriter's singleton before GfshExecutionStrategy can instantiate.
* In some instances, the LogWriter has been replaced with the Log4j LogService logger.
* Launcher explicitly passes a null Cache, since it does not yet exist.
* Other minor improvements: visibility, typo corrections, etc.

> Remove singleton calls from product code in
> ------------------------------------------------------------------------------------
>                 Key: GEODE-4517
>                 URL:
>             Project: Geode
>          Issue Type: Sub-task
>          Components: gfsh
>            Reporter: Kirk Lund
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
> These product classes in invoke singleton getters.
> CacheFactory.getAnyInstance():
> * CliUtil

This message was sent by Atlassian JIRA

View raw message