HADOOP-12153. ByteBufferReadable doesn't declare @InterfaceAudience and @InterfaceStability. Contributed by Brahma Reddy Battula.
(cherry picked from commit cec1d43db0
)
This commit is contained in:
parent
5e8c01e7a2
commit
59ba845a2f
|
@ -196,6 +196,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
HADOOP-12211. Collect disk usage on the node (Robert Grandl via cdouglas)
|
HADOOP-12211. Collect disk usage on the node (Robert Grandl via cdouglas)
|
||||||
|
|
||||||
|
HADOOP-12153. ByteBufferReadable doesn't declare @InterfaceAudience and
|
||||||
|
@InterfaceStability. (Brahma Reddy Battula via ozawa)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
||||||
|
|
|
@ -19,11 +19,15 @@ package org.apache.hadoop.fs;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
import org.apache.hadoop.classification.InterfaceAudience;
|
||||||
|
import org.apache.hadoop.classification.InterfaceStability;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementers of this interface provide a read API that writes to a
|
* Implementers of this interface provide a read API that writes to a
|
||||||
* ByteBuffer, not a byte[].
|
* ByteBuffer, not a byte[].
|
||||||
*/
|
*/
|
||||||
|
@InterfaceAudience.Public
|
||||||
|
@InterfaceStability.Evolving
|
||||||
public interface ByteBufferReadable {
|
public interface ByteBufferReadable {
|
||||||
/**
|
/**
|
||||||
* Reads up to buf.remaining() bytes into buf. Callers should use
|
* Reads up to buf.remaining() bytes into buf. Callers should use
|
||||||
|
|
Loading…
Reference in New Issue