Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceManager.addListener(ServiceManager.Listener listener)
Deprecated.
Use the overload that accepts an
executor. For equivalent behavior, pass
MoreExecutors.directExecutor() . However,
consider whether another executor would be more appropriate, as discussed in the docs for
ListenableFuture.addListener . This method is scheduled
for deletion in October 2020. |
void |
ServiceManager.addListener(ServiceManager.Listener listener,
Executor executor)
Registers a
ServiceManager.Listener to be executed on the given
executor. |
Copyright © 2010–2020. All rights reserved.