Skip to content
Open
Show file tree
Hide file tree
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 @@ -26,12 +26,9 @@
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.atomic.AtomicLong;

import net.spy.memcached.MemcachedNode;
import net.spy.memcached.compat.SpyObject;
Expand Down Expand Up @@ -66,8 +63,6 @@ public abstract class BaseOperationImpl extends SpyObject implements Operation {
private volatile boolean timedout;
private long creationTime;
private boolean timedOutUnsent = false;
protected Collection<MemcachedNode> notMyVbucketNodes =
new HashSet<MemcachedNode>();
private long writeCompleteTimestamp;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;

import net.spy.memcached.MemcachedNode;
Expand All @@ -40,7 +41,10 @@
*/
abstract class MultiKeyOperationImpl extends OperationImpl implements
VBucketAware, KeyedOperation {

protected final Map<String, Short> vbmap;
protected Collection<MemcachedNode> notMyVbucketNodes =
new HashSet<MemcachedNode>();

protected MultiKeyOperationImpl(byte c, int o, OperationCallback cb) {
super(c, o, cb);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;

import net.spy.memcached.MemcachedNode;
import net.spy.memcached.ops.KeyedOperation;
Expand All @@ -39,6 +40,8 @@ abstract class SingleKeyOperationImpl extends OperationImpl implements
VBucketAware, KeyedOperation {

protected final String key;
protected Collection<MemcachedNode> notMyVbucketNodes =
new HashSet<MemcachedNode>();

protected SingleKeyOperationImpl(byte c, int o, String k,
OperationCallback cb) {
Expand Down