Interface ContextAwareness

All Known Implementing Classes:
AbstractAdaptiveBundler, AbstractBundler, AutoTunedBundler, AutotunedDelegatingBundler, FixedSizeBundler, NodeThreadsBundler, ProportionalBundler, RL2Bundler

public interface ContextAwareness
Bundler implementations should implement this interface if they wish to have access to a node's context.
Author:
Martin JANDA
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the corresponding node's context information.
    void
    Set the corresponding node's context information.
  • Method Details

    • getJPPFContext

      JPPFContext getJPPFContext()
      Get the corresponding node's context information.
      Returns:
      a JPPFContext instance.
    • setJPPFContext

      void setJPPFContext(JPPFContext context)
      Set the corresponding node's context information. This method is called before Bundler.setup() with context instance. And with null after Bundler.dispose().
      Parameters:
      context - a JPPFContext instance.