HBASE-13298 Clarify if Table.{set|get}WriteBufferSize() is deprecated or not
This commit is contained in:
parent
5a58116bb5
commit
50daed268e
@ -498,7 +498,9 @@ public interface Table extends Closeable {
|
|||||||
* The default value comes from the configuration parameter
|
* The default value comes from the configuration parameter
|
||||||
* {@code hbase.client.write.buffer}.
|
* {@code hbase.client.write.buffer}.
|
||||||
* @return The size of the write buffer in bytes.
|
* @return The size of the write buffer in bytes.
|
||||||
|
* @deprecated as of 1.0.1 (should not have been in 1.0.0). Replaced by {@link BufferedMutator#getWriteBufferSize()}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
long getWriteBufferSize();
|
long getWriteBufferSize();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -508,7 +510,10 @@ public interface Table extends Closeable {
|
|||||||
* write buffer, the buffer gets flushed.
|
* write buffer, the buffer gets flushed.
|
||||||
* @param writeBufferSize The new write buffer size, in bytes.
|
* @param writeBufferSize The new write buffer size, in bytes.
|
||||||
* @throws IOException if a remote or network exception occurs.
|
* @throws IOException if a remote or network exception occurs.
|
||||||
|
* @deprecated as of 1.0.1 (should not have been in 1.0.0). Replaced by {@link BufferedMutator} and
|
||||||
|
* {@link BufferedMutatorParams#writeBufferSize(long)}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
void setWriteBufferSize(long writeBufferSize) throws IOException;
|
void setWriteBufferSize(long writeBufferSize) throws IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user