You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2015/03/20 22:01:15 UTC

[10/50] [abbrv] storm git commit: Deleting unused interface.

Deleting unused interface.


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/256c35af
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/256c35af
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/256c35af

Branch: refs/heads/0.11.x-branch
Commit: 256c35af6d4da821675dac3ec0fb9073b0695e92
Parents: 366130e
Author: Parth Brahmbhatt <br...@gmail.com>
Authored: Thu Dec 18 11:17:48 2014 -0800
Committer: Parth Brahmbhatt <br...@gmail.com>
Committed: Thu Dec 18 11:17:48 2014 -0800

----------------------------------------------------------------------
 .../src/jvm/backtype/storm/nimbus/IStorage.java | 57 --------------------
 1 file changed, 57 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/256c35af/storm-core/src/jvm/backtype/storm/nimbus/IStorage.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/backtype/storm/nimbus/IStorage.java b/storm-core/src/jvm/backtype/storm/nimbus/IStorage.java
deleted file mode 100644
index 6396cdc..0000000
--- a/storm-core/src/jvm/backtype/storm/nimbus/IStorage.java
+++ /dev/null
@@ -1,57 +0,0 @@
-package backtype.storm.nimbus;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.nio.file.Path;
-import java.util.List;
-
-public interface IStorage {
-    /**
-     * throws Exception if path already exists.
-     * @param dir director path to be created.
-     * @throws IOException
-     */
-    void mkdir(Path dir) throws IOException;
-
-    /**
-     * throws Exception if path already exists.
-     * @param file path to create
-     * @return output stream that can be used to write.
-     */
-    OutputStream create(Path file) throws IOException;
-
-    /**
-     * list of files under a directory, throws Exception if
-     * path does not exist.
-     */
-    List<Path> listFiles(Path dir) throws IOException;
-
-    /**
-     *
-     * @param path path to be deleted
-     * @param recursive if true and path is a directory everything under it will be deleted.
-     * @throws IOException
-     */
-    void delete(Path path, boolean recursive) throws IOException;
-
-    /**
-     * move src to dest, throws exception if dest already exists.
-     * @throws IOException
-     */
-    void move(Path src, Path dest) throws IOException;
-
-    /**
-     * copy src to dest, throws exception if dest already exists.
-     */
-    void copy(Path src, Path dest) throws IOException;
-
-    /**
-     * returns true if a path exists.
-     */
-    boolean exists(Path path) throws IOException;
-
-    /**
-     * returns true if path is directory, throws exception if it does not exist.
-     */
-    boolean isDir(Path path) throws IOException;
-}