ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yakov Zhdanov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-239) fix IgnitionEx to use configuration copy constructor instead of individual copy
Date Wed, 25 Feb 2015 18:38:04 GMT

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

Yakov Zhdanov updated IGNITE-239:
---------------------------------
    Assignee: Irina Vasilinets  (was: Yakov Zhdanov)

> fix IgnitionEx to use configuration copy constructor instead of individual copy
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-239
>                 URL: https://issues.apache.org/jira/browse/IGNITE-239
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Yakov Zhdanov
>            Assignee: Irina Vasilinets
>             Fix For: sprint-2
>
>
> This code should be removed in favor of copy constructor
> {code}
>             // Copy values that don't need extra processing.
>             myCfg.setPeerClassLoadingEnabled(cfg.isPeerClassLoadingEnabled());
>             myCfg.setDeploymentMode(cfg.getDeploymentMode());
>             myCfg.setNetworkTimeout(cfg.getNetworkTimeout());
>             myCfg.setClockSyncSamples(cfg.getClockSyncSamples());
>             myCfg.setClockSyncFrequency(cfg.getClockSyncFrequency());
>             myCfg.setDiscoveryStartupDelay(cfg.getDiscoveryStartupDelay());
>             myCfg.setMetricsHistorySize(cfg.getMetricsHistorySize());
>             myCfg.setMetricsExpireTime(cfg.getMetricsExpireTime());
>             myCfg.setMetricsUpdateFrequency(cfg.getMetricsUpdateFrequency());
>             myCfg.setLifecycleBeans(cfg.getLifecycleBeans());
>             myCfg.setLocalEventListeners(cfg.getLocalEventListeners());
>             myCfg.setPeerClassLoadingMissedResourcesCacheSize(cfg.getPeerClassLoadingMissedResourcesCacheSize());
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message