Class OMLayoutFeatureAspect
java.lang.Object
org.apache.hadoop.ozone.om.upgrade.OMLayoutFeatureAspect
'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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OMLayoutFeatureAspectaspectOf()Note: Without this, it occasionally throws NoSuchMethodError when running the test.voidbeforeRequestApplyTxn(org.aspectj.lang.JoinPoint joinPoint) voidcheckLayoutFeature(org.aspectj.lang.JoinPoint joinPoint) void
-
Field Details
-
GET_VERSION_MANAGER_METHOD_NAME
- See Also:
-
-
Constructor Details
-
OMLayoutFeatureAspect
public OMLayoutFeatureAspect()
-
-
Method Details
-
checkLayoutFeature
- 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
Note: Without this, it occasionally throws NoSuchMethodError when running the test.
-