Resource Management is a commercial feature that must be unlocked before being used. To learn more about commercial features and how to unlock them visit http://www.oracle.com/technetwork/java/javaseproducts/

## Uses of Interface
jdk.management.resource.ResourceContext

- - ### Uses of ResourceContext in jdk.management.resource

    Methods in jdk.management.resource that return ResourceContext
    Modifier and Type | Method | Description
    --- | --- | ---
    `default ResourceContext` | ResourceContext.`bindThreadContext()` Binds the ResourceContext to the current thread.
    `ResourceContext` | ResourceContextFactory.`create(String name)` Create a new ResourceContext.
    `ResourceContext` | ResourceContextFactory.`getThreadContext()` Returns the ResourceContext associated with the current thread.
    `ResourceContext` | ResourceContextFactory.`getThreadContext(Thread thread)` Returns the ResourceContext associated with the thread.
    `ResourceContext` | ResourceContextFactory.`getTotalsContext()` Returns a ResourceContext that provides the totals for all ResourceContexts.
    `ResourceContext` | ResourceContextFactory.`getUnassignedContext()` Returns the ResourceContext that is the default when a thread is not associated with a ResourceContext.
    `ResourceContext` | ResourceContextFactory.`lookup(String name)` Returns the ResourceContext given by name.
    `static ResourceContext` | ResourceContext.`unbindThreadContext()` Unbind the current thread from the ResourceContext.

    Methods in jdk.management.resource that return types with arguments of type ResourceContext
    Modifier and Type | Method | Description
    --- | --- | ---
    `Stream<ResourceContext>` | ResourceContextFactory.`contexts()` Returns a Stream of the existing ResourceContexts.

Copyright © 2014, 2026, Oracle and/or its affiliates. All rights reserved.