summaryrefslogtreecommitdiffstats
path: root/filedistributionmanager
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-11-08 13:08:00 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-11-08 13:08:00 +0100
commit75306b9b5ef58c2dc1e8620f96fc9560cc793d5b (patch)
treeb2963da14eba1c5154bbcdb8fa04cfa869b20a7e /filedistributionmanager
parent9b074941dfa5f91179b3e28bcc505a875782f941 (diff)
Remove unused interface no longer needed.
Diffstat (limited to 'filedistributionmanager')
-rw-r--r--filedistributionmanager/src/main/java/com/yahoo/vespa/filedistribution/FileDistributionManager.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/filedistributionmanager/src/main/java/com/yahoo/vespa/filedistribution/FileDistributionManager.java b/filedistributionmanager/src/main/java/com/yahoo/vespa/filedistribution/FileDistributionManager.java
index 0a803269ff6..f0c463abe70 100644
--- a/filedistributionmanager/src/main/java/com/yahoo/vespa/filedistribution/FileDistributionManager.java
+++ b/filedistributionmanager/src/main/java/com/yahoo/vespa/filedistribution/FileDistributionManager.java
@@ -4,7 +4,6 @@ package com.yahoo.vespa.filedistribution;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
-import java.util.List;
import java.util.concurrent.locks.Lock;
/**
@@ -30,13 +29,8 @@ public class FileDistributionManager {
private native void setDeployedFilesImpl(byte[] host, byte[] appId, byte[][] fileReferences);
- private native void limitSendingOfDeployedFilesToImpl(byte[][] hostNames, byte[] appId);
- private native void limitFilesToImpl(byte[][] fileReferences);
private native void removeDeploymentsThatHaveDifferentApplicationIdImpl(byte[][] asByteArrays, byte[] bytes);
- private native byte[] getProgressImpl(byte[] fileReference,
- byte[][] hostNames);
-
private byte[][] getAsByteArrays(Collection<String> strings) {
byte[][] byteArrays = new byte[strings.size()][];
int i = 0;
@@ -121,17 +115,6 @@ public class FileDistributionManager {
}
}
- public void limitSendingOfDeployedFilesTo(Collection<String> hostNames) {
- try (LockGuard guard = new LockGuard(lock)) {
- limitSendingOfDeployedFilesToImpl(getAsByteArrays(hostNames), appId.getBytes());
- }
- }
-
- public byte[] getProgress(String fileReference,
- List<String> hostNamesSortedAscending) {
- return getProgressImpl(fileReference.getBytes(), getAsByteArrays(hostNamesSortedAscending));
- }
-
public native void shutdown();