diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-11-08 13:08:00 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-11-08 13:08:00 +0100 |
commit | 75306b9b5ef58c2dc1e8620f96fc9560cc793d5b (patch) | |
tree | b2963da14eba1c5154bbcdb8fa04cfa869b20a7e /filedistribution | |
parent | 9b074941dfa5f91179b3e28bcc505a875782f941 (diff) |
Remove unused interface no longer needed.
Diffstat (limited to 'filedistribution')
-rw-r--r-- | filedistribution/src/vespa/filedistribution/manager/filedistributionmanager.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/filedistribution/src/vespa/filedistribution/manager/filedistributionmanager.cpp b/filedistribution/src/vespa/filedistribution/manager/filedistributionmanager.cpp index 954cce23205..f0825343f27 100644 --- a/filedistribution/src/vespa/filedistribution/manager/filedistributionmanager.cpp +++ b/filedistribution/src/vespa/filedistribution/manager/filedistributionmanager.cpp @@ -174,20 +174,6 @@ Java_com_yahoo_vespa_filedistribution_FileDistributionManager_setDeployedFilesIm JNIEXPORT void JNICALL -Java_com_yahoo_vespa_filedistribution_FileDistributionManager_limitSendingOfDeployedFilesToImpl( - JNIEnv *env, jobject self, jobjectArray hostNamesArg, jbyteArray appIdArg) -{ - try { - JNIArray<JNIString> hostNames(hostNamesArg, env); - JNIString appId(appIdArg, env); - - nativeFileDistributionManagerField.get(self, env)->_fileDBModel-> - cleanDeployedFilesToDownload(hostNames._value, appId._value); - } STANDARDCATCH() -} - -JNIEXPORT -void JNICALL Java_com_yahoo_vespa_filedistribution_FileDistributionManager_removeDeploymentsThatHaveDifferentApplicationIdImpl( JNIEnv *env, jobject self, jobjectArray hostNamesArg, jbyteArray appIdArg) { @@ -200,40 +186,3 @@ Java_com_yahoo_vespa_filedistribution_FileDistributionManager_removeDeploymentsT } STANDARDCATCH() } - - -JNIEXPORT -void JNICALL -Java_com_yahoo_vespa_filedistribution_FileDistributionManager_limitFilesTo( - JNIEnv *env, jobject self, jobjectArray fileReferencesArg) -{ - try { - JNIArray<JNIString> fileReferences(fileReferencesArg, env); - - nativeFileDistributionManagerField.get(self, env)->_fileDBModel-> - cleanFiles(fileReferences._value); - } STANDARDCATCH() -} - - -JNIEXPORT -jbyteArray JNICALL -Java_com_yahoo_vespa_filedistribution_FileDistributionManager_getProgressImpl( - JNIEnv *env, jobject self, jbyteArray fileReferenceArg, jobjectArray hostNamesArg) -{ - try { - JNIString fileReference(fileReferenceArg, env); - JNIArray<JNIString> hostNames(hostNamesArg, env); - - const FileDBModel::Progress progress = - nativeFileDistributionManagerField.get(self, env)->_fileDBModel-> - getProgress(fileReference._value, hostNames._value); - - jbyteArray result = env->NewByteArray(progress.size()); - if (!result) - return 0; //exception thrown when returning - - env->SetByteArrayRegion(result, 0, progress.size(), &*progress.begin()); - return result; - } STANDARDCATCH(return 0) -} |