Uses of Class
jdk.management.resource.ResourceType
-
Packages that use ResourceType Package Description jdk.management.resource Resource tracking contexts, meters, and factories. -
-
Uses of ResourceType in jdk.management.resource
Fields in jdk.management.resource declared as ResourceType Modifier and Type Field Description static ResourceTypeResourceType. DATAGRAM_OPENDeprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_OPEN - number of open datagram sockets.static ResourceTypeResourceType. DATAGRAM_READDeprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_READ - number of bytes of datagrams read.static ResourceTypeResourceType. DATAGRAM_RECEIVEDDeprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_RECIEVED - number of datagrams received.static ResourceTypeResourceType. DATAGRAM_SENTDeprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_SENT - number of datagrams sent.static ResourceTypeResourceType. DATAGRAM_WRITEDeprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_WRITE - number of bytes of datagrams written.static ResourceTypeResourceType. FILE_OPENDeprecated, for removal: This API element is subject to removal in a future version.FILE_OPEN - number of open files.static ResourceTypeResourceType. FILE_READDeprecated, for removal: This API element is subject to removal in a future version.FILE_READ - number of bytes read from files.static ResourceTypeResourceType. FILE_WRITEDeprecated, for removal: This API element is subject to removal in a future version.FILE_WRITE - number of bytes written to files.static ResourceTypeResourceType. FILEDESCRIPTOR_OPENDeprecated, for removal: This API element is subject to removal in a future version.FILEDESCRIPTOR_OPEN - number of open file descriptors.static ResourceTypeResourceType. HEAP_ALLOCATEDDeprecated, for removal: This API element is subject to removal in a future version.HEAP_ALLOCATED - running total of heap allocations in bytes.static ResourceTypeResourceType. HEAP_RETAINEDDeprecated, for removal: This API element is subject to removal in a future version.HEAP_RETAINED - number of bytes of heap memory in use.static ResourceTypeResourceType. SOCKET_OPENDeprecated, for removal: This API element is subject to removal in a future version.SOCKET_OPEN - number of open sockets.static ResourceTypeResourceType. SOCKET_READDeprecated, for removal: This API element is subject to removal in a future version.SOCKET_READ - number of bytes read from sockets.static ResourceTypeResourceType. SOCKET_WRITEDeprecated, for removal: This API element is subject to removal in a future version.SOCKET_WRITE - number of bytes written to sockets.static ResourceTypeResourceType. STDERR_WRITEDeprecated, for removal: This API element is subject to removal in a future version.STDERR_WRITE - number of bytes written to the standard error stream.static ResourceTypeResourceType. STDIN_READDeprecated, for removal: This API element is subject to removal in a future version.STDIN_READ - number of bytes read from the standard input stream.static ResourceTypeResourceType. STDOUT_WRITEDeprecated, for removal: This API element is subject to removal in a future version.STDOUT_WRITE - number of bytes written to the standard output stream.static ResourceTypeResourceType. THREAD_CPUDeprecated, for removal: This API element is subject to removal in a future version.THREAD_CPU - amount of cpu time used by threads, in nanoseconds.static ResourceTypeResourceType. THREAD_CREATEDDeprecated, for removal: This API element is subject to removal in a future version.THREAD_CREATED - number of threads created and active.Methods in jdk.management.resource that return ResourceType Modifier and Type Method Description ResourceTypeResourceMeter. getType()Deprecated, for removal: This API element is subject to removal in a future version.Returns theResourceType.static ResourceTypeResourceType. of(String name)Deprecated, for removal: This API element is subject to removal in a future version.Returns a ResourceType for the named resource.Methods in jdk.management.resource that return types with arguments of type ResourceType Modifier and Type Method Description Set<ResourceType>ResourceContextFactory. supportedResourceTypes()Deprecated, for removal: This API element is subject to removal in a future version.Returns a read-only Set of the builtin ResourceTypes available in the current runtime.Methods in jdk.management.resource with parameters of type ResourceType Modifier and Type Method Description static BoundedMeterBoundedMeter. create(ResourceType type, long bound)Deprecated, for removal: This API element is subject to removal in a future version.Returns a new BoundedMeter with the type and upper bound.static BoundedMeterBoundedMeter. create(ResourceType type, long bound, ResourceApprover approver)Deprecated, for removal: This API element is subject to removal in a future version.Returns a new BoundedMeter with the type, upper bound, and approver.static BoundedMeterBoundedMeter. create(ResourceType type, long bound, ResourceRequest parent)Deprecated, for removal: This API element is subject to removal in a future version.Returns a new BoundedMeter with the type, upper bound, and parent.static BoundedMeterBoundedMeter. create(ResourceType type, long bound, ResourceRequest parent, ResourceApprover approver)Deprecated, for removal: This API element is subject to removal in a future version.Returns a new BoundedMeter with the type, upper bound, parent, and approver.static NotifyingMeterNotifyingMeter. create(ResourceType type, ResourceApprover approver)Deprecated, for removal: This API element is subject to removal in a future version.Returns a new NotifyingMeter with the type and approver.static NotifyingMeterNotifyingMeter. create(ResourceType type, ResourceRequest parent, ResourceApprover approver)Deprecated, for removal: This API element is subject to removal in a future version.Returns a new NotifyingMeter with the type, approver and parent approver.static SimpleMeterSimpleMeter. create(ResourceType type)Deprecated, for removal: This API element is subject to removal in a future version.Returns a new SimpleMeter with the ResourceType.static SimpleMeterSimpleMeter. create(ResourceType type, ResourceRequest parent)Deprecated, for removal: This API element is subject to removal in a future version.Returns a new SimpleMeter with the ResourceType and allocating from a parent.static ThrottledMeterThrottledMeter. create(ResourceType type, long ratePerSec, ResourceApprover approver)Deprecated, for removal: This API element is subject to removal in a future version.Create a new meter with a throttle rate and approver.static ThrottledMeterThrottledMeter. create(ResourceType type, long ratePerSec, ResourceRequest parent, ResourceApprover approver)Deprecated, for removal: This API element is subject to removal in a future version.Create a new meter with a throttle rate, parent and approver.static ThrottledMeterThrottledMeter. create(ResourceType type, ResourceRequest parent, ResourceApprover approver)Deprecated, for removal: This API element is subject to removal in a future version.Create a new meter with unlimited rate, parent and approver.ResourceMeterResourceContext. getMeter(ResourceType type)Deprecated, for removal: This API element is subject to removal in a future version.Return the ResourceMeter for the ResourceType.ResourceRequestResourceContext. getResourceRequest(ResourceType type)Deprecated, for removal: This API element is subject to removal in a future version.Returns the ResourceRequest in the ResourceContext that handles requests to allocate or release for the ResourceType.ResourceRequestResourceContextFactory. getResourceRequest(ResourceType type)Deprecated, for removal: This API element is subject to removal in a future version.Returns the ResourceRequest for the current ResourceContext and ResourceType.Constructors in jdk.management.resource with parameters of type ResourceType Constructor Description BoundedMeter(ResourceType type, long bound, ResourceRequest parent, ResourceApprover approver)Deprecated, for removal: This API element is subject to removal in a future version.Constructor of a BoundedMeter.NotifyingMeter(ResourceType type, ResourceRequest parent, ResourceApprover approver)Deprecated, for removal: This API element is subject to removal in a future version.Constructor for subclasses.SimpleMeter(ResourceType type, ResourceRequest parent)Deprecated, for removal: This API element is subject to removal in a future version.Constructor for subclasses.
-