getsoperation.java
来自「memcached JAVA客户端API,应用广泛,运行比较稳定。」· Java 代码 · 共 30 行
JAVA
30 行
package net.spy.memcached.ops;import java.util.Collection;/** * Gets operation (get with CAS identifier support). */public interface GetsOperation extends Operation { /** * Operation callback for the Gets request. */ interface Callback extends OperationCallback { /** * Callback for each result from a gets. * * @param key the key that was retrieved * @param flags the flags for this value * @param cas the CAS value for this record * @param data the data stored under this key */ void gotData(String key, int flags, long cas, byte[] data); } /** * Get the keys requested in this GetsOperation. */ Collection<String> getKeys();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?