org.ocap.service.ServiceContextResourceUsage.html Maven / Gradle / Ivy
ServiceContextResourceUsage
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
org.ocap.service
Interface ServiceContextResourceUsage
- All Superinterfaces:
- ResourceUsage
public interface ServiceContextResourceUsage
- extends ResourceUsage
This interface represents a ResourceUsage corresponding to a group of resources implicitly reserved by the implementation for the successful completion of the ServiceContext.select() method. An object implementing this interface should be used by the implementation to represent ResourceUsages corresponding to ServiceContext when the ResourceContentionHandler.resolveResourceContention() method is invoked.
Method Summary | |
---|---|
javax.tv.service.Service |
getRequestedService()
Gets the Service that was requested when the resource contention
was incurred. |
javax.tv.service.selection.ServiceContext |
getServiceContext()
Gets the ServiceContext for which the resources have been reserved. |
Methods inherited from interface org.ocap.resource.ResourceUsage |
---|
getAppID, getResource, getResourceNames |
Method Detail |
---|
getServiceContext
javax.tv.service.selection.ServiceContext getServiceContext()
- Gets the
ServiceContext
for which the resources have been reserved.- Returns:
- the ServiceContext for which the resources have been reserved.
getRequestedService
javax.tv.service.Service getRequestedService()
- Gets the
Service
that was requested when the resource contention was incurred.- Returns:
- Service requested.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |