Skip to content

Commit

Permalink
Merge pull request #505 from naver/uhm0311/received_status
Browse files Browse the repository at this point in the history
CLEANUP: Comment the receivedStatus().
  • Loading branch information
jhpark816 authored Jun 17, 2022
2 parents 395eea2 + 0510301 commit 69c51fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/spy/memcached/ArcusClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -4063,7 +4063,7 @@ private <T> Future<Map<String, CollectionOperationStatus>> asyncCollectionInsert
Operation op = opFact.collectionBulkInsert(
insert, new CollectionBulkInsertOperation.Callback() {
public void receivedStatus(OperationStatus status) {

// Nothing to do here because the user MUST search the result Map instance.
}

public void complete() {
Expand Down Expand Up @@ -4257,6 +4257,7 @@ private <T> CollectionGetBulkFuture<Map<String, BTreeGetResult<Long, T>>> btreeG
Operation op = opFact.bopGetBulk(getBulk, new BTreeGetBulkOperation.Callback() {
@Override
public void receivedStatus(OperationStatus status) {
// Nothing to do here because the user MUST search the result Map instance.
}

@Override
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/net/spy/memcached/MemcachedClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@ public void receivedStatus(OperationStatus status) {
if (!status.isSuccess()) {
getLogger().warn("Unsuccessful get: %s", status);
}
// Nothing to do here because the user MUST search the result Map instance.
}

public void gotData(String k, int flags, byte[] data) {
Expand Down Expand Up @@ -1278,6 +1279,7 @@ public void receivedStatus(OperationStatus status) {
if (!status.isSuccess()) {
getLogger().warn("Unsuccessful gets: %s", status);
}
// Nothing to do here because the user MUST search the result Map instance.
}

public void gotData(String k, int flags, long cas, byte[] data) {
Expand Down

0 comments on commit 69c51fa

Please sign in to comment.