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 ResourceType
ResourceType. DATAGRAM_OPEN
Deprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_OPEN - number of open datagram sockets.static ResourceType
ResourceType. DATAGRAM_READ
Deprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_READ - number of bytes of datagrams read.static ResourceType
ResourceType. DATAGRAM_RECEIVED
Deprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_RECIEVED - number of datagrams received.static ResourceType
ResourceType. DATAGRAM_SENT
Deprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_SENT - number of datagrams sent.static ResourceType
ResourceType. DATAGRAM_WRITE
Deprecated, for removal: This API element is subject to removal in a future version.DATAGRAM_WRITE - number of bytes of datagrams written.static ResourceType
ResourceType. FILE_OPEN
Deprecated, for removal: This API element is subject to removal in a future version.FILE_OPEN - number of open files.static ResourceType
ResourceType. FILE_READ
Deprecated, for removal: This API element is subject to removal in a future version.FILE_READ - number of bytes read from files.static ResourceType
ResourceType. FILE_WRITE
Deprecated, for removal: This API element is subject to removal in a future version.FILE_WRITE - number of bytes written to files.static ResourceType
ResourceType. FILEDESCRIPTOR_OPEN
Deprecated, for removal: This API element is subject to removal in a future version.FILEDESCRIPTOR_OPEN - number of open file descriptors.static ResourceType
ResourceType. HEAP_ALLOCATED
Deprecated, for removal: This API element is subject to removal in a future version.HEAP_ALLOCATED - running total of heap allocations in bytes.static ResourceType
ResourceType. HEAP_RETAINED
Deprecated, for removal: This API element is subject to removal in a future version.HEAP_RETAINED - number of bytes of heap memory in use.static ResourceType
ResourceType. SOCKET_OPEN
Deprecated, for removal: This API element is subject to removal in a future version.SOCKET_OPEN - number of open sockets.static ResourceType
ResourceType. SOCKET_READ
Deprecated, for removal: This API element is subject to removal in a future version.SOCKET_READ - number of bytes read from sockets.static ResourceType
ResourceType. SOCKET_WRITE
Deprecated, for removal: This API element is subject to removal in a future version.SOCKET_WRITE - number of bytes written to sockets.static ResourceType
ResourceType. STDERR_WRITE
Deprecated, 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 ResourceType
ResourceType. STDIN_READ
Deprecated, 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 ResourceType
ResourceType. STDOUT_WRITE
Deprecated, 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 ResourceType
ResourceType. THREAD_CPU
Deprecated, 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 ResourceType
ResourceType. THREAD_CREATED
Deprecated, 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 ResourceType
ResourceMeter. getType()
Deprecated, for removal: This API element is subject to removal in a future version.Returns theResourceType
.static ResourceType
ResourceType. 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 BoundedMeter
BoundedMeter. 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 BoundedMeter
BoundedMeter. 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 BoundedMeter
BoundedMeter. 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 BoundedMeter
BoundedMeter. 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 NotifyingMeter
NotifyingMeter. 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 NotifyingMeter
NotifyingMeter. 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 SimpleMeter
SimpleMeter. 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 SimpleMeter
SimpleMeter. 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 ThrottledMeter
ThrottledMeter. 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 ThrottledMeter
ThrottledMeter. 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 ThrottledMeter
ThrottledMeter. 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.ResourceMeter
ResourceContext. getMeter(ResourceType type)
Deprecated, for removal: This API element is subject to removal in a future version.Return the ResourceMeter for the ResourceType.ResourceRequest
ResourceContext. 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.ResourceRequest
ResourceContextFactory. 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.
-