Package org.onosproject.net.resource
Generic network resource model and services for resource allocation and
resource tracking.
-
Interface Summary Interface Description DiscreteResourceCodec<T> Represents the common interface to encode an object of the specified type to an integer, and to decode an integer to an object of the specified type.Resource An object that represent a resource in a network.ResourceAdminService Service for administering resource service behavior.ResourceConsumer Marker interface representing an entity using resource.ResourceListener Entity capable of receiving resource related events.ResourceQueryService Service for retrieving resource information.ResourceService Service for allocating/releasing resource(s) and retrieving allocation(s) and availability.ResourceStore Service for storing resource and consumer information.ResourceStoreDelegate Resource store delegate abstraction. -
Class Summary Class Description ContinuousFactory Factory class for continuous-type resource related instances.ContinuousResource Represents a resource path which specifies a resource which can be measured as continuous value.ContinuousResourceId ResourceId forContinuousResource
.DiscreteFactory Factory class for discrete-type resource related instances.DiscreteResource Represents a resource path which specifies a resource which can be measured as a discrete unit.DiscreteResourceId ResourceId forDiscreteResource
.ResourceAllocation Represents allocation of resource which is identified by the specifier.ResourceConsumerId Representation of global unique ID for ResourceConsumer object.ResourceEvent Describes an event related to a resource.ResourceId Represents identifier of resource.Resources Utility class for resource related classes. -
Enum Summary Enum Description ResourceEvent.Type Type of resource events.