geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [geode] branch feature/GEODE-3940 updated: renamed BackupResultCollector to PrepareBackupResultCollector
Date Fri, 10 Nov 2017 22:34:10 GMT
This is an automated email from the ASF dual-hosted git repository.

dschneider pushed a commit to branch feature/GEODE-3940
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-3940 by this push:
     new d89c7ed  renamed BackupResultCollector to PrepareBackupResultCollector
d89c7ed is described below

commit d89c7ed796a34b02fca6da47422c59c5ee3fb80a
Author: Darrel Schneider <dschneider@pivotal.io>
AuthorDate: Fri Nov 10 14:33:31 2017 -0800

    renamed BackupResultCollector to PrepareBackupResultCollector
---
 .../org/apache/geode/internal/cache/backup/PrepareBackupFactory.java  | 4 ++--
 .../apache/geode/internal/cache/backup/PrepareBackupOperation.java    | 2 +-
 .../geode/internal/cache/backup/PrepareBackupReplyProcessor.java      | 4 ++--
 .../{BackupResultCollector.java => PrepareBackupResultCollector.java} | 2 +-
 .../apache/geode/internal/cache/backup/PrepareBackupFactoryTest.java  | 4 ++--
 .../geode/internal/cache/backup/PrepareBackupReplyProcessorTest.java  | 4 ++--
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupFactory.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupFactory.java
index 5124002..10aa4e8 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupFactory.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupFactory.java
@@ -24,8 +24,8 @@ import org.apache.geode.internal.cache.InternalCache;
 
 class PrepareBackupFactory {
 
-  PrepareBackupReplyProcessor createReplyProcessor(BackupResultCollector resultCollector,
DM dm,
-      Set<InternalDistributedMember> recipients) {
+  PrepareBackupReplyProcessor createReplyProcessor(PrepareBackupResultCollector resultCollector,
+      DM dm, Set<InternalDistributedMember> recipients) {
     return new PrepareBackupReplyProcessor(resultCollector, dm, recipients);
   }
 
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupOperation.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupOperation.java
index 31a0c8e..a8c0f65 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupOperation.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupOperation.java
@@ -31,7 +31,7 @@ import org.apache.geode.distributed.internal.membership.InternalDistributedMembe
 import org.apache.geode.internal.cache.InternalCache;
 import org.apache.geode.internal.logging.LogService;
 
-class PrepareBackupOperation implements BackupResultCollector {
+class PrepareBackupOperation implements PrepareBackupResultCollector {
   private static final Logger logger = LogService.getLogger();
 
   private final DM dm;
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupReplyProcessor.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupReplyProcessor.java
index 49a7112..6f2a767 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupReplyProcessor.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupReplyProcessor.java
@@ -23,9 +23,9 @@ import org.apache.geode.internal.admin.remote.AdminMultipleReplyProcessor;
 
 class PrepareBackupReplyProcessor extends AdminMultipleReplyProcessor {
 
-  private final BackupResultCollector resultCollector;
+  private final PrepareBackupResultCollector resultCollector;
 
-  PrepareBackupReplyProcessor(BackupResultCollector resultCollector, DM dm,
+  PrepareBackupReplyProcessor(PrepareBackupResultCollector resultCollector, DM dm,
       Set<InternalDistributedMember> recipients) {
     super(dm, recipients);
     this.resultCollector = resultCollector;
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/BackupResultCollector.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupResultCollector.java
similarity index 96%
rename from geode-core/src/main/java/org/apache/geode/internal/cache/backup/BackupResultCollector.java
rename to geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupResultCollector.java
index d4ab322..df74780 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/BackupResultCollector.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/PrepareBackupResultCollector.java
@@ -19,6 +19,6 @@ import java.util.Set;
 import org.apache.geode.cache.persistence.PersistentID;
 import org.apache.geode.distributed.internal.membership.InternalDistributedMember;
 
-interface BackupResultCollector {
+interface PrepareBackupResultCollector {
   void addToResults(InternalDistributedMember member, Set<PersistentID> persistentIds);
 }
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupFactoryTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupFactoryTest.java
index 0dbb664..ee4ed3d 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupFactoryTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupFactoryTest.java
@@ -36,7 +36,7 @@ public class PrepareBackupFactoryTest {
 
   private PrepareBackupFactory prepareBackupFactory;
 
-  private BackupResultCollector resultCollector;
+  private PrepareBackupResultCollector resultCollector;
   private DM dm;
   private InternalDistributedMember sender;
   private Set<InternalDistributedMember> recipients;
@@ -45,7 +45,7 @@ public class PrepareBackupFactoryTest {
 
   @Before
   public void setUp() throws Exception {
-    resultCollector = mock(BackupResultCollector.class);
+    resultCollector = mock(PrepareBackupResultCollector.class);
     dm = mock(DM.class);
     sender = mock(InternalDistributedMember.class);
     member = mock(InternalDistributedMember.class);
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupReplyProcessorTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupReplyProcessorTest.java
index 535327e..0f8f32b 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupReplyProcessorTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/backup/PrepareBackupReplyProcessorTest.java
@@ -37,7 +37,7 @@ public class PrepareBackupReplyProcessorTest {
 
   private PrepareBackupReplyProcessor prepareBackupReplyProcessor;
 
-  private BackupResultCollector resultCollector;
+  private PrepareBackupResultCollector resultCollector;
   private DM dm;
   private InternalDistributedSystem system;
   private InternalDistributedMember sender;
@@ -50,7 +50,7 @@ public class PrepareBackupReplyProcessorTest {
 
   @Before
   public void setUp() throws Exception {
-    resultCollector = mock(BackupResultCollector.class);
+    resultCollector = mock(PrepareBackupResultCollector.class);
     dm = mock(DM.class);
     system = mock(InternalDistributedSystem.class);
     prepareBackupResponse = mock(PrepareBackupResponse.class);

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <commits@geode.apache.org>'].

Mime
View raw message