ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: IGNITE 1867 Deprecated random eviction policy changed server side node start generation.
Date Fri, 13 Nov 2015 03:35:18 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc1 a4819e7a5 -> 10d9ba529


IGNITE 1867 Deprecated random eviction policy changed server side node start generation.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/10d9ba52
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/10d9ba52
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/10d9ba52

Branch: refs/heads/ignite-843-rc1
Commit: 10d9ba529d771be4e7d5c5dda5046e87bc421fec
Parents: a4819e7
Author: Andrey <anovikov@gridgain.com>
Authored: Fri Nov 13 10:35:10 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Fri Nov 13 10:35:10 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/summary-controller.js               | 5 ++---
 .../src/main/js/helpers/generator/generator-java.js             | 3 ++-
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/10d9ba52/modules/control-center-web/src/main/js/controllers/summary-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/summary-controller.js b/modules/control-center-web/src/main/js/controllers/summary-controller.js
index ca0eab6..ff621b9 100644
--- a/modules/control-center-web/src/main/js/controllers/summary-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/summary-controller.js
@@ -34,7 +34,6 @@ consoleModule.controller('summaryController', [
 
     $scope.evictionPolicies = [
         {value: 'LRU', label: 'LRU'},
-        {value: 'RND', label: 'Random'},
         {value: 'FIFO', label: 'FIFO'},
         {value: 'SORTED', label: 'Sorted'},
         {value: undefined, label: 'Not set'}
@@ -94,7 +93,7 @@ consoleModule.controller('summaryController', [
 
     $scope.generateJavaServer = function () {
         $scope.javaServer = $generatorJava.cluster($scope.selectedItem,
-            $scope.configServer.javaClassServer === 2 ? 'ServerConfigurationFactory' : false);
+            $scope.configServer.javaClassServer === 2 ? 'ServerConfigurationFactory' : false,
false);
     };
 
     function selectPojoClass(config) {
@@ -169,7 +168,7 @@ consoleModule.controller('summaryController', [
         $scope.xmlClient = $generatorXml.cluster($scope.selectedItem, $scope.backupItem.nearConfiguration);
         $scope.javaClient = $generatorJava.cluster($scope.selectedItem,
             $scope.backupItem.javaClassClient === 2 ? 'ClientConfigurationFactory' : false,
-            $scope.backupItem.nearConfiguration, $scope.configServer.useConstructor);
+            $scope.backupItem.nearConfiguration, true);
     };
 
     $scope.$watch('backupItem', $scope.generateClient, true);

http://git-wip-us.apache.org/repos/asf/ignite/blob/10d9ba52/modules/control-center-web/src/main/js/helpers/generator/generator-java.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/helpers/generator/generator-java.js b/modules/control-center-web/src/main/js/helpers/generator/generator-java.js
index 0b3f2ae..6f34424 100644
--- a/modules/control-center-web/src/main/js/helpers/generator/generator-java.js
+++ b/modules/control-center-web/src/main/js/helpers/generator/generator-java.js
@@ -1789,8 +1789,9 @@ $generatorJava.igfsMisc = function(igfs, varName, res) {
  * @param cluster Cluster to process.
  * @param javaClass Class name for generate factory class otherwise generate code snippet.
  * @param clientNearCfg Near cache configuration for client node.
+ * @param clientMode If `true` generates code for client mode or server mode otherwise.
  */
-$generatorJava.cluster = function (cluster, javaClass, clientNearCfg) {
+$generatorJava.cluster = function (cluster, javaClass, clientNearCfg, clientMode) {
     var res = $generatorCommon.builder();
 
     if (cluster) {


Mime
View raw message