Class OMLayoutFeatureAspect

java.lang.Object
org.apache.hadoop.ozone.om.upgrade.OMLayoutFeatureAspect

public class OMLayoutFeatureAspect extends Object
'Aspect' for OM Layout Feature API. All methods annotated with the specific annotation will have pre-processing done here to check layout version compatibility.
  • Field Details

  • Constructor Details

    • OMLayoutFeatureAspect

      public OMLayoutFeatureAspect()
  • Method Details

    • checkLayoutFeature

      public void checkLayoutFeature(org.aspectj.lang.JoinPoint joinPoint) throws IOException
      Throws:
      IOException
    • omRequestPointCut

      public void omRequestPointCut()
    • beforeRequestApplyTxn

      public void beforeRequestApplyTxn(org.aspectj.lang.JoinPoint joinPoint) throws org.apache.hadoop.ozone.om.exceptions.OMException
      Throws:
      org.apache.hadoop.ozone.om.exceptions.OMException
    • aspectOf

      public static OMLayoutFeatureAspect aspectOf()
      Note: Without this, it occasionally throws NoSuchMethodError when running the test.