?? optimizedgetimpl.java
字號:
package net.spy.memcached.protocol.ascii;import java.util.HashSet;import net.spy.memcached.ops.GetOperation;import net.spy.memcached.protocol.ProxyCallback;/** * Optimized Get operation for folding a bunch of gets together. */final class OptimizedGetImpl extends GetOperationImpl { private final ProxyCallback pcb; /** * Construct an optimized get starting with the given get operation. */ public OptimizedGetImpl(GetOperation firstGet) { super(new HashSet<String>(), new ProxyCallback()); pcb=(ProxyCallback)getCallback(); addOperation(firstGet); } /** * Add a new GetOperation to get. */ public void addOperation(GetOperation o) { getKeys().addAll(o.getKeys()); pcb.addCallbacks(o); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -