/**
 *Copyright [2009-2010] [dennis zhuang(killme2008@gmail.com)]
 *Licensed under the Apache License, Version 2.0 (the "License");
 *you may not use this file except in compliance with the License. 
 *You may obtain a copy of the License at 
 *             http://www.apache.org/licenses/LICENSE-2.0 
 *Unless required by applicable law or agreed to in writing, 
 *software distributed under the License is distributed on an "AS IS" BASIS, 
 *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
 *either express or implied. See the License for the specific language governing permissions and limitations under the License
 */
/**
 *Copyright [2009-2010] [dennis zhuang(killme2008@gmail.com)]
 *Licensed under the Apache License, Version 2.0 (the "License");
 *you may not use this file except in compliance with the License.
 *You may obtain a copy of the License at
 *             http://www.apache.org/licenses/LICENSE-2.0
 *Unless required by applicable law or agreed to in writing,
 *software distributed under the License is distributed on an "AS IS" BASIS,
 *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 *either express or implied. See the License for the specific language governing permissions and limitations under the License
 */
package net.rubyeye.xmemcached;

import java.util.Queue;

import net.rubyeye.xmemcached.buffer.BufferAllocator;
import net.rubyeye.xmemcached.command.Command;

/**
 * xmemcached优化器，决定优化策略
 * 
 * @author dennis
 */
public interface MemcachedOptimizer {
	@SuppressWarnings("unchecked")
	Command optimize(final Command currentCommand, final Queue writeQueue,
			final Queue<Command> executingCmds, int sendBufferSize);

	@Deprecated
	public void setBufferAllocator(BufferAllocator bufferAllocator);
}

@@ -1412,18 +1412,18 @@
 ched
-%E4%BC%98%E5%8C%96%E5%99%A8%EF%BC%8C%E5%86%B3%E5%AE%9A%E4%BC%98%E5%8C%96%E7%AD%96%E7%95%A5
+ Optimizer
 %0A * 

Fix javadoc error.