|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ASyncServiceManager
An interface for managing ASyncService
objects with an
ASync
instance.
Method Summary | |
---|---|
boolean |
addService(ASyncService service)
Adds the provided service to this ASync instance. |
boolean |
containsService(ASyncService service)
Returns whether the provided service is registered with this ASync instance. |
java.util.List<ASyncService> |
getActiveServices()
Returns a list of all active services registered with this ASync instance. |
java.util.List<ASyncService> |
getInactiveServices()
Returns a list of all inactive services registered with this ASync instance. |
boolean |
removeService(ASyncService service)
Removes the provided service from this ASync instance. |
Methods inherited from interface async.ASyncServiceInspector |
---|
containsServiceKey, getActiveServiceKeys, getInactiveServiceKeys |
Method Detail |
---|
boolean addService(ASyncService service)
service
- the service to add
true
if ASync is not running and the service is
not already added, false
otherwiseboolean removeService(ASyncService service)
service
- the service to remove
true
if ASync is not running and the service is
registered, false
otherwiseboolean containsService(ASyncService service)
getActiveServices
or the list returned by
getInactiveServices
.
service
- the service to query as registered
true
if the service is registered,
false
otherwisejava.util.List<ASyncService> getActiveServices()
java.util.List<ASyncService> getInactiveServices()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |