You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2016/12/14 21:52:28 UTC
hbase git commit: HBASE-17310 Refactoring BackupAdmin: remove public
access modifiers (Vladimir Rodionov)
Repository: hbase
Updated Branches:
refs/heads/HBASE-7912 8d62d9a0d -> 7d96a214e
HBASE-17310 Refactoring BackupAdmin: remove public access modifiers (Vladimir Rodionov)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7d96a214
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7d96a214
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7d96a214
Branch: refs/heads/HBASE-7912
Commit: 7d96a214e079d6bc8df9d4aea4277922a70666bc
Parents: 8d62d9a
Author: tedyu <yu...@gmail.com>
Authored: Wed Dec 14 13:51:51 2016 -0800
Committer: tedyu <yu...@gmail.com>
Committed: Wed Dec 14 13:51:51 2016 -0800
----------------------------------------------------------------------
.../apache/hadoop/hbase/backup/BackupAdmin.java | 28 ++++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/7d96a214/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/BackupAdmin.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/BackupAdmin.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/BackupAdmin.java
index dbdb981..e700ab0 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/BackupAdmin.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/backup/BackupAdmin.java
@@ -49,7 +49,7 @@ public interface BackupAdmin extends Closeable{
* @return the backup Id
*/
- public String backupTables(final BackupRequest userRequest) throws IOException;
+ String backupTables(final BackupRequest userRequest) throws IOException;
/**
* Backs up given list of tables fully. Asynchronous operation.
@@ -57,14 +57,14 @@ public interface BackupAdmin extends Closeable{
* @param userRequest BackupRequest instance
* @return the backup Id future
*/
- public Future<String> backupTablesAsync(final BackupRequest userRequest) throws IOException;
+ Future<String> backupTablesAsync(final BackupRequest userRequest) throws IOException;
/**
* Restore backup
* @param request restore request
* @throws IOException exception
*/
- public void restore(RestoreRequest request) throws IOException;
+ void restore(RestoreRequest request) throws IOException;
/**
* Restore backup
@@ -72,7 +72,7 @@ public interface BackupAdmin extends Closeable{
* @return Future which client can wait on
* @throws IOException exception
*/
- public Future<Void> restoreAsync(RestoreRequest request) throws IOException;
+ Future<Void> restoreAsync(RestoreRequest request) throws IOException;
/**
* Describe backup image command
@@ -80,7 +80,7 @@ public interface BackupAdmin extends Closeable{
* @return backup info
* @throws IOException exception
*/
- public BackupInfo getBackupInfo(String backupId) throws IOException;
+ BackupInfo getBackupInfo(String backupId) throws IOException;
/**
* Show backup progress command
@@ -89,7 +89,7 @@ public interface BackupAdmin extends Closeable{
* or session not found
* @throws IOException exception
*/
- public int getProgress(String backupId) throws IOException;
+ int getProgress(String backupId) throws IOException;
/**
* Delete backup image command
@@ -97,7 +97,7 @@ public interface BackupAdmin extends Closeable{
* @return total number of deleted sessions
* @throws IOException exception
*/
- public int deleteBackups(String[] backupIds) throws IOException;
+ int deleteBackups(String[] backupIds) throws IOException;
/**
* Show backup history command
@@ -105,7 +105,7 @@ public interface BackupAdmin extends Closeable{
* @return list of backup infos
* @throws IOException exception
*/
- public List<BackupInfo> getHistory(int n) throws IOException;
+ List<BackupInfo> getHistory(int n) throws IOException;
/**
@@ -115,7 +115,7 @@ public interface BackupAdmin extends Closeable{
* @return list of backup infos
* @throws IOException exception
*/
- public List<BackupInfo> getHistory(int n, BackupInfo.Filter ... f) throws IOException;
+ List<BackupInfo> getHistory(int n, BackupInfo.Filter ... f) throws IOException;
/**
@@ -124,7 +124,7 @@ public interface BackupAdmin extends Closeable{
* @return all registered backup sets
* @throws IOException exception
*/
- public List<BackupSet> listBackupSets() throws IOException;
+ List<BackupSet> listBackupSets() throws IOException;
/**
* Backup set describe command. Shows list of tables in
@@ -133,7 +133,7 @@ public interface BackupAdmin extends Closeable{
* @return backup set description or null
* @throws IOException exception
*/
- public BackupSet getBackupSet(String name) throws IOException;
+ BackupSet getBackupSet(String name) throws IOException;
/**
* Delete backup set command
@@ -141,7 +141,7 @@ public interface BackupAdmin extends Closeable{
* @return true, if success, false - otherwise
* @throws IOException exception
*/
- public boolean deleteBackupSet(String name) throws IOException;
+ boolean deleteBackupSet(String name) throws IOException;
/**
* Add tables to backup set command
@@ -149,7 +149,7 @@ public interface BackupAdmin extends Closeable{
* @param tables list of tables to be added to this set.
* @throws IOException exception
*/
- public void addToBackupSet(String name, TableName[] tables) throws IOException;
+ void addToBackupSet(String name, TableName[] tables) throws IOException;
/**
* Remove tables from backup set
@@ -157,5 +157,5 @@ public interface BackupAdmin extends Closeable{
* @param tables list of tables to be removed from this set.
* @throws IOException exception
*/
- public void removeFromBackupSet(String name, String[] tables) throws IOException;
+ void removeFromBackupSet(String name, String[] tables) throws IOException;
}