summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2022-01-27 08:51:47 +0100
committerGitHub <noreply@github.com>2022-01-27 08:51:47 +0100
commite7399b161668ffbe23aef55f2312710ac77e7a51 (patch)
tree9dd31f1468a660e1381f663154e1e83985304a2e
parent556f16bf5772d89f19b2e63d6c18477bc9972dfe (diff)
parente833115ef4f9b1bc4802ec27cef263e14a55bea0 (diff)
Merge pull request #20944 from vespa-engine/revoke-vespa.curator
Revoke package c.y.vespa.curator from PublicApi
-rw-r--r--zkfacade/abi-spec.json115
-rw-r--r--zkfacade/src/main/java/com/yahoo/vespa/curator/package-info.java2
2 files changed, 0 insertions, 117 deletions
diff --git a/zkfacade/abi-spec.json b/zkfacade/abi-spec.json
index e0de2622149..d227f8490dc 100644
--- a/zkfacade/abi-spec.json
+++ b/zkfacade/abi-spec.json
@@ -1,119 +1,4 @@
{
- "com.yahoo.vespa.curator.CompletionTimeoutException": {
- "superClass": "java.lang.RuntimeException",
- "interfaces": [],
- "attributes": [
- "public"
- ],
- "methods": [
- "public void <init>(java.lang.String)"
- ],
- "fields": []
- },
- "com.yahoo.vespa.curator.Curator$CompletionWaiter": {
- "superClass": "java.lang.Object",
- "interfaces": [],
- "attributes": [
- "public",
- "interface",
- "abstract"
- ],
- "methods": [
- "public abstract void awaitCompletion(java.time.Duration)",
- "public abstract void notifyCompletion()"
- ],
- "fields": []
- },
- "com.yahoo.vespa.curator.Curator$DirectoryCache": {
- "superClass": "java.lang.Object",
- "interfaces": [],
- "attributes": [
- "public",
- "interface",
- "abstract"
- ],
- "methods": [
- "public abstract void start()",
- "public abstract void addListener(org.apache.curator.framework.recipes.cache.PathChildrenCacheListener)",
- "public abstract java.util.List getCurrentData()",
- "public abstract org.apache.curator.framework.recipes.cache.ChildData getCurrentData(com.yahoo.path.Path)",
- "public abstract void close()"
- ],
- "fields": []
- },
- "com.yahoo.vespa.curator.Curator$FileCache": {
- "superClass": "java.lang.Object",
- "interfaces": [],
- "attributes": [
- "public",
- "interface",
- "abstract"
- ],
- "methods": [
- "public abstract void start()",
- "public abstract void addListener(org.apache.curator.framework.recipes.cache.NodeCacheListener)",
- "public abstract org.apache.curator.framework.recipes.cache.ChildData getCurrentData()",
- "public abstract void close()"
- ],
- "fields": []
- },
- "com.yahoo.vespa.curator.Curator": {
- "superClass": "java.lang.Object",
- "interfaces": [
- "com.yahoo.vespa.curator.api.VespaCurator",
- "java.lang.AutoCloseable"
- ],
- "attributes": [
- "public"
- ],
- "methods": [
- "public static com.yahoo.vespa.curator.Curator create(java.lang.String)",
- "public static com.yahoo.vespa.curator.Curator create(java.lang.String, java.util.Optional)",
- "public void <init>(com.yahoo.cloud.config.CuratorConfig, com.yahoo.vespa.zookeeper.VespaZooKeeperServer)",
- "public void <init>(com.yahoo.cloud.config.ConfigserverConfig, com.yahoo.vespa.zookeeper.VespaZooKeeperServer)",
- "protected void <init>(java.lang.String, java.lang.String, java.util.function.Function)",
- "public java.lang.String connectionSpec()",
- "public org.apache.curator.framework.recipes.atomic.DistributedAtomicLong createAtomicCounter(java.lang.String)",
- "public org.apache.curator.framework.recipes.locks.InterProcessLock createMutex(java.lang.String)",
- "public com.yahoo.vespa.curator.Curator$CompletionWaiter getCompletionWaiter(com.yahoo.path.Path, int, java.lang.String)",
- "public com.yahoo.vespa.curator.Curator$CompletionWaiter createCompletionWaiter(com.yahoo.path.Path, java.lang.String, int, java.lang.String)",
- "public com.yahoo.vespa.curator.Curator$DirectoryCache createDirectoryCache(java.lang.String, boolean, boolean, java.util.concurrent.ExecutorService)",
- "public com.yahoo.vespa.curator.Curator$FileCache createFileCache(java.lang.String, boolean)",
- "public boolean exists(com.yahoo.path.Path)",
- "public void set(com.yahoo.path.Path, byte[])",
- "public boolean create(com.yahoo.path.Path)",
- "public varargs void createAtomically(com.yahoo.path.Path[])",
- "public void delete(com.yahoo.path.Path)",
- "public java.util.List getChildren(com.yahoo.path.Path)",
- "public java.util.Optional getData(com.yahoo.path.Path)",
- "public java.util.Optional getStat(com.yahoo.path.Path)",
- "public com.yahoo.vespa.curator.Lock lock(com.yahoo.path.Path, java.time.Duration)",
- "public org.apache.curator.framework.CuratorFramework framework()",
- "public void close()",
- "public java.lang.String zooKeeperEnsembleConnectionSpec()",
- "public int zooKeeperEnsembleCount()",
- "public bridge synthetic java.lang.AutoCloseable lock(com.yahoo.path.Path, java.time.Duration)"
- ],
- "fields": [
- "protected final org.apache.curator.RetryPolicy retryPolicy"
- ]
- },
- "com.yahoo.vespa.curator.Lock": {
- "superClass": "java.lang.Object",
- "interfaces": [
- "com.yahoo.transaction.Mutex"
- ],
- "attributes": [
- "public"
- ],
- "methods": [
- "public void <init>(java.lang.String, com.yahoo.vespa.curator.Curator)",
- "public void <init>(java.lang.String, org.apache.curator.framework.recipes.locks.InterProcessLock)",
- "public void acquire(java.time.Duration)",
- "public void close()"
- ],
- "fields": []
- },
"com.yahoo.vespa.curator.api.VespaCurator": {
"superClass": "java.lang.Object",
"interfaces": [],
diff --git a/zkfacade/src/main/java/com/yahoo/vespa/curator/package-info.java b/zkfacade/src/main/java/com/yahoo/vespa/curator/package-info.java
index ede5ef402a5..281e8b369c6 100644
--- a/zkfacade/src/main/java/com/yahoo/vespa/curator/package-info.java
+++ b/zkfacade/src/main/java/com/yahoo/vespa/curator/package-info.java
@@ -1,6 +1,4 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
@ExportPackage
-@PublicApi // TODO: Revoke this on Vespa 8.
package com.yahoo.vespa.curator;
-import com.yahoo.api.annotations.PublicApi;
import com.yahoo.osgi.annotation.ExportPackage;