You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by up...@apache.org on 2016/11/30 22:10:05 UTC
[1/2] incubator-geode git commit: GEODE-2157: Adding a
serialVersionUID to PutAllPartialResultException
Repository: incubator-geode
Updated Branches:
refs/heads/develop 918e6cfd5 -> ef7bb3216
GEODE-2157: Adding a serialVersionUID to PutAllPartialResultException
Adding the serialVersionUID from the old version of this class to
PutAllPartialResultException.
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/be1d5e31
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/be1d5e31
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/be1d5e31
Branch: refs/heads/develop
Commit: be1d5e31aa0aa41212e269a739cdbeada9e87310
Parents: 918e6cf
Author: Dan Smith <up...@apache.org>
Authored: Wed Nov 30 11:13:23 2016 -0800
Committer: Dan Smith <up...@apache.org>
Committed: Wed Nov 30 11:52:29 2016 -0800
----------------------------------------------------------------------
.../apache/geode/internal/cache/PutAllPartialResultException.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/be1d5e31/geode-core/src/main/java/org/apache/geode/internal/cache/PutAllPartialResultException.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/PutAllPartialResultException.java b/geode-core/src/main/java/org/apache/geode/internal/cache/PutAllPartialResultException.java
index fa906cd..883b34b 100755
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/PutAllPartialResultException.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/PutAllPartialResultException.java
@@ -31,6 +31,7 @@ import java.util.*;
*/
public class PutAllPartialResultException extends GemFireException {
+ private static final long serialVersionUID = 2411654400733621071L;
private PutAllPartialResult result;
//////////////////// Constructors ////////////////////
[2/2] incubator-geode git commit: Removing unused ClientHelper test
class
Posted by up...@apache.org.
Removing unused ClientHelper test class
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/ef7bb321
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/ef7bb321
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/ef7bb321
Branch: refs/heads/develop
Commit: ef7bb3216e700a9b0ddd9d0b8dc174ed6602564d
Parents: be1d5e3
Author: Dan Smith <up...@apache.org>
Authored: Thu Nov 17 10:55:16 2016 -0800
Committer: Dan Smith <up...@apache.org>
Committed: Wed Nov 30 11:54:39 2016 -0800
----------------------------------------------------------------------
.../org/apache/geode/cache/ClientHelper.java | 68 --------------------
1 file changed, 68 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/ef7bb321/geode-core/src/test/java/org/apache/geode/cache/ClientHelper.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/cache/ClientHelper.java b/geode-core/src/test/java/org/apache/geode/cache/ClientHelper.java
deleted file mode 100644
index 66ce495..0000000
--- a/geode-core/src/test/java/org/apache/geode/cache/ClientHelper.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
- * agreements. See the NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License. You may obtain a
- * copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-package org.apache.geode.cache;
-
-import java.io.File;
-import java.util.HashSet;
-import java.util.Set;
-
-import org.apache.geode.cache.DynamicRegionFactory.Config;
-import org.apache.geode.cache.client.internal.PoolImpl;
-import org.apache.geode.cache.client.internal.ServerProxy;
-import org.apache.geode.internal.cache.LocalRegion;
-
-/**
- * Provides methods for getting at the bridge client and connection proxies used by a region.
- *
- *
- */
-public class ClientHelper {
-
- public static PoolImpl getPool(Region region) {
- ServerProxy proxy = ((LocalRegion) region).getServerProxy();
- if (proxy == null) {
- return null;
- } else {
- return (PoolImpl) proxy.getPool();
- }
- }
-
- public static Set getActiveServers(Region region) {
- return new HashSet(getPool(region).getCurrentServers());
- }
-
- // public static Set getDeadServers(Region region) {
- // }
-
- private ClientHelper() {
-
- }
-
- public static int getRetryInterval(Region region) {
- return (int) (getPool(region).getPingInterval());
- }
-
- /**
- * @param region
- */
- public static void release(Region region) {
-
- PoolImpl pool = getPool(region);
- if (pool != null) {
- pool.releaseThreadLocalConnection();
- }
- }
-
-}