Class AbstractContext<T>

java.lang.Object
org.wildfly.clustering.context.AbstractContext<T>
Type Parameters:
T - the context value type
All Implemented Interfaces:
AutoCloseable, Consumer<Runnable>, Supplier<T>, Context<T>

public abstract class AbstractContext<T> extends Object implements Context<T>, Consumer<Runnable>
An abstract context that can accumulate actions to run on close.
Author:
Paul Ferraro
  • Constructor Details

    • AbstractContext

      protected AbstractContext()
      Constructs a new context.
  • Method Details