Class MultiGetsOperationCallback

java.lang.Object
net.spy.memcached.ops.MultiOperationCallback
net.spy.memcached.ops.MultiGetsOperationCallback
All Implemented Interfaces:
GetsOperation.Callback, OperationCallback

public class MultiGetsOperationCallback extends MultiOperationCallback implements GetsOperation.Callback
MultiOperationCallback for get operations.
  • Constructor Details

    • MultiGetsOperationCallback

      public MultiGetsOperationCallback(OperationCallback original, int todo)
  • Method Details

    • gotData

      public void gotData(String key, int flags, long cas, byte[] data)
      Description copied from interface: GetsOperation.Callback
      Callback for each result from a gets.
      Specified by:
      gotData in interface GetsOperation.Callback
      Parameters:
      key - the key that was retrieved
      flags - the flags for this value
      cas - the CAS value for this record
      data - the data stored under this key