Interface CoprocessorReloadTask

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@LimitedPrivate("Coprocesssor") @Evolving @FunctionalInterface public interface CoprocessorReloadTask
This interface is used to perform whatever task is necessary for reloading coprocessors on HMaster, HRegionServer, and HRegion. Since the steps required to reload coprocessors varies for each of these types, this interface helps with code flexibility by allowing a lamda function to be provided for the reload() method.

See CoprocessorConfigurationUtil.maybeUpdateCoprocessors() and its usage in onConfigurationChange() with HMaster, HRegionServer, and HRegion for an idea of how this interface is helpful.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    reload(org.apache.hadoop.conf.Configuration conf)
     
  • Method Details

    • reload

      void reload(org.apache.hadoop.conf.Configuration conf)