Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.client.hotrod.impl;

Author(s):
Mircea.Markus@jboss.com
Since:
4.1
 
 public class VersionedOperationResponse {
 
    public enum RspCode {
      SUCCESS(true), NO_SUCH_KEY(false), MODIFIED_KEY(false);
      private boolean isModified;
      RspCode(boolean modified) {
          = modified;
      }
      public boolean isUpdated() {
         return ;
      }
   }
   private byte[] value;
   private RspCode code;
   public VersionedOperationResponse(byte[] valueRspCode code) {
      this. = value;
      this. = code;
   }
   public byte[] getValue() {
      return ;
   }
   public RspCode getCode() {
      return ;
   }
New to GrepCode? Check out our FAQ X