All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.service.ServiceContextResourceUsage.html Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version






ServiceContextResourceUsage














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.






© 2015 - 2024 Weber Informatics LLC | Privacy Policy