org.apache.hadoop.hbase.classification
Class InterfaceAudience
java.lang.Object
org.apache.hadoop.hbase.classification.InterfaceAudience
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class InterfaceAudience
- extends Object
Annotation to inform users of a package, class or method's intended audience.
Currently the audience can be InterfaceAudience.Public
, InterfaceAudience.LimitedPrivate
or
InterfaceAudience.LimitedPrivate
.
All public classes must have InterfaceAudience annotation.
- Public classes that are not marked with this annotation must be
considered by default as
InterfaceAudience.LimitedPrivate
.
- External applications must only use classes that are marked
InterfaceAudience.Public
. Avoid using non public classes as these classes
could be removed or change in incompatible ways.
- Hadoop projects must only use classes that are marked
InterfaceAudience.LimitedPrivate
or InterfaceAudience.Public
- Methods may have a different annotation that it is more restrictive
compared to the audience classification of the class. Example: A class
might be
InterfaceAudience.Public
, but a method may be InterfaceAudience.LimitedPrivate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.