HADOOP-16344. Make DurationInfo public unstable.

Second attempt: imports fixed up.

Contributed by Huan-Ping Su and Kai Xie.

Change-Id: Ib2a85dd4b2d12b840692cc854cc53ddb3bdde7d5
This commit is contained in:
Huan-Ping Su 2019-06-07 12:55:17 +01:00 committed by Steve Loughran
parent a91d24fea4
commit 14552d19e3
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
1 changed files with 4 additions and 4 deletions

View File

@ -20,8 +20,8 @@
import org.slf4j.Logger;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;
import org.apache.hadoop.classification.InterfaceAudience.Public;
import org.apache.hadoop.classification.InterfaceStability.Unstable;
/**
* A duration with logging of final state at info or debug
@ -29,8 +29,8 @@
* This allows it to be used in a try-with-resources clause, and have the
* duration automatically logged.
*/
@InterfaceAudience.Private
@InterfaceStability.Unstable
@Public
@Unstable
public class DurationInfo extends OperationDuration
implements AutoCloseable {
private final String text;