Module java.base
Package jdk.crac

Class Context<R extends Resource>

java.lang.Object
jdk.crac.Context<R>
All Implemented Interfaces:
Resource

public abstract class Context<R extends Resource> extends Object implements Resource
A Resource that allows other Resources to be registered with it.

Context implementation overrides beforeCheckpoint and afterRestore, defining how the notification about checkpoint and restore will be distributed by the Context hierarchy.

A Context implementor is encouraged to respect properties of the global Context.

  • Constructor Details

    • Context

      protected Context()
      Creates a Context.
  • Method Details