31 lines
812 B
Java
31 lines
812 B
Java
|
package com.google.android.gms.common.providers;
|
||
|
|
||
|
import java.util.concurrent.ScheduledExecutorService;
|
||
|
|
||
|
@Deprecated
|
||
|
/* loaded from: classes.dex */
|
||
|
public class PooledExecutorsProvider {
|
||
|
private static PooledExecutorFactory zza;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public interface PooledExecutorFactory {
|
||
|
@Deprecated
|
||
|
ScheduledExecutorService newSingleThreadScheduledExecutor();
|
||
|
}
|
||
|
|
||
|
@Deprecated
|
||
|
public static PooledExecutorFactory getInstance() {
|
||
|
PooledExecutorFactory pooledExecutorFactory;
|
||
|
synchronized (PooledExecutorsProvider.class) {
|
||
|
if (zza == null) {
|
||
|
zza = new zza();
|
||
|
}
|
||
|
pooledExecutorFactory = zza;
|
||
|
}
|
||
|
return pooledExecutorFactory;
|
||
|
}
|
||
|
|
||
|
private PooledExecutorsProvider() {
|
||
|
}
|
||
|
}
|