From 4037585e42f64e8f2e75bcaaaf73236c18f402d0 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Fri, 12 Apr 2013 14:05:33 -0700 Subject: [PATCH] Deprecate ExecutorService getters --- core/src/main/java/org/jclouds/rest/Utils.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/core/src/main/java/org/jclouds/rest/Utils.java b/core/src/main/java/org/jclouds/rest/Utils.java index 44695acdcf..6104163d81 100644 --- a/core/src/main/java/org/jclouds/rest/Utils.java +++ b/core/src/main/java/org/jclouds/rest/Utils.java @@ -114,18 +114,36 @@ public interface Utils { */ DateService date(); + /** + * @deprecated will be removed in jclouds 1.7, as async interfaces are no + * longer supported. + */ + @Deprecated ListeningExecutorService getUserExecutor(); /** * #see #getUserExecutor + * + * @deprecated will be removed in jclouds 1.7, as async interfaces are no + * longer supported. */ + @Deprecated ListeningExecutorService userExecutor(); + /** + * @deprecated will be removed in jclouds 1.7, as async interfaces are no + * longer supported. + */ + @Deprecated ListeningExecutorService getIoExecutor(); /** * #see #getIoExecutor + * + * @deprecated will be removed in jclouds 1.7, as async interfaces are no + * longer supported. */ + @Deprecated ListeningExecutorService ioExecutor(); @Beta