Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,25 @@ default AsyncBufferedMutatorBuilder setMaxRetries(int maxRetries) {

/**
* Set a rpc request attribute.
* <p>
* Introduced in 2.6.1. Any custom implementations of this class should implement this method in
* order to take advantage of the new behavior.
* </p>
*/
AsyncBufferedMutatorBuilder setRequestAttribute(String key, byte[] value);
default AsyncBufferedMutatorBuilder setRequestAttribute(String key, byte[] value) {
throw new UnsupportedOperationException("Not implemented");
}

/**
* Set multiple rpc request attributes.
* <p>
* Introduced in 2.6.1. Any custom implementations of this class should implement this method in
* order to take advantage of the new behavior.
* </p>
*/
AsyncBufferedMutatorBuilder setRequestAttributes(Map<String, byte[]> requestAttributes);
default AsyncBufferedMutatorBuilder setRequestAttributes(Map<String, byte[]> requestAttributes) {
throw new UnsupportedOperationException("Not implemented");
}

/**
* Create the {@link AsyncBufferedMutator} instance.
Expand Down