19
19
import static com .google .common .util .concurrent .Internal .toNanosSaturated ;
20
20
import static java .util .Objects .requireNonNull ;
21
21
22
- import com .google .common .annotations .Beta ;
23
22
import com .google .common .annotations .GwtCompatible ;
24
23
import com .google .common .annotations .GwtIncompatible ;
25
24
import com .google .common .annotations .J2ktIncompatible ;
@@ -82,7 +81,6 @@ private MoreExecutors() {}
82
81
* @return an unmodifiable version of the input which will not hang the JVM
83
82
* @since 28.0
84
83
*/
85
- @ Beta
86
84
@ J2ktIncompatible
87
85
@ GwtIncompatible // TODO
88
86
public static ExecutorService getExitingExecutorService (
@@ -104,7 +102,6 @@ public static ExecutorService getExitingExecutorService(
104
102
* @param timeUnit unit of time for the time parameter
105
103
* @return an unmodifiable version of the input which will not hang the JVM
106
104
*/
107
- @ Beta
108
105
@ J2ktIncompatible
109
106
@ GwtIncompatible // TODO
110
107
@ SuppressWarnings ("GoodTime" ) // should accept a java.time.Duration
@@ -126,7 +123,6 @@ public static ExecutorService getExitingExecutorService(
126
123
* @param executor the executor to modify to make sure it exits when the application is finished
127
124
* @return an unmodifiable version of the input which will not hang the JVM
128
125
*/
129
- @ Beta
130
126
@ J2ktIncompatible
131
127
@ GwtIncompatible // concurrency
132
128
public static ExecutorService getExitingExecutorService (ThreadPoolExecutor executor ) {
@@ -146,7 +142,6 @@ public static ExecutorService getExitingExecutorService(ThreadPoolExecutor execu
146
142
* @return an unmodifiable version of the input which will not hang the JVM
147
143
* @since 28.0
148
144
*/
149
- @ Beta
150
145
@ J2ktIncompatible
151
146
@ GwtIncompatible // java.time.Duration
152
147
public static ScheduledExecutorService getExitingScheduledExecutorService (
@@ -168,7 +163,6 @@ public static ScheduledExecutorService getExitingScheduledExecutorService(
168
163
* @param timeUnit unit of time for the time parameter
169
164
* @return an unmodifiable version of the input which will not hang the JVM
170
165
*/
171
- @ Beta
172
166
@ J2ktIncompatible
173
167
@ GwtIncompatible // TODO
174
168
@ SuppressWarnings ("GoodTime" ) // should accept a java.time.Duration
@@ -191,7 +185,6 @@ public static ScheduledExecutorService getExitingScheduledExecutorService(
191
185
* @param executor the executor to modify to make sure it exits when the application is finished
192
186
* @return an unmodifiable version of the input which will not hang the JVM
193
187
*/
194
- @ Beta
195
188
@ J2ktIncompatible
196
189
@ GwtIncompatible // TODO
197
190
public static ScheduledExecutorService getExitingScheduledExecutorService (
@@ -210,7 +203,6 @@ public static ScheduledExecutorService getExitingScheduledExecutorService(
210
203
* JVM
211
204
* @since 28.0
212
205
*/
213
- @ Beta
214
206
@ J2ktIncompatible
215
207
@ GwtIncompatible // java.time.Duration
216
208
public static void addDelayedShutdownHook (ExecutorService service , Duration terminationTimeout ) {
@@ -228,7 +220,6 @@ public static void addDelayedShutdownHook(ExecutorService service, Duration term
228
220
* JVM
229
221
* @param timeUnit unit of time for the time parameter
230
222
*/
231
- @ Beta
232
223
@ J2ktIncompatible
233
224
@ GwtIncompatible // TODO
234
225
@ SuppressWarnings ("GoodTime" ) // should accept a java.time.Duration
@@ -904,7 +895,6 @@ public void run() {
904
895
*
905
896
* @since 14.0
906
897
*/
907
- @ Beta
908
898
@ J2ktIncompatible
909
899
@ GwtIncompatible // concurrency
910
900
public static ThreadFactory platformThreadFactory () {
@@ -1093,7 +1083,6 @@ protected Runnable wrapTask(Runnable command) {
1093
1083
* if the call timed out or was interrupted
1094
1084
* @since 28.0
1095
1085
*/
1096
- @ Beta
1097
1086
@ CanIgnoreReturnValue
1098
1087
@ J2ktIncompatible
1099
1088
@ GwtIncompatible // java.time.Duration
@@ -1125,7 +1114,6 @@ public static boolean shutdownAndAwaitTermination(ExecutorService service, Durat
1125
1114
* if the call timed out or was interrupted
1126
1115
* @since 17.0
1127
1116
*/
1128
- @ Beta
1129
1117
@ CanIgnoreReturnValue
1130
1118
@ J2ktIncompatible
1131
1119
@ GwtIncompatible // concurrency
0 commit comments