org.infinispan.server.resp.response.SetResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-server-resp Show documentation
Show all versions of infinispan-server-resp Show documentation
Infinispan Resp Protocol Server
The newest version!
package org.infinispan.server.resp.response;
public class SetResponse {
private final byte[] value;
private final boolean returnValue;
private final boolean success;
public SetResponse(byte[] value, boolean returnValue) {
this(value, returnValue, true);
}
public SetResponse(byte[] value, boolean returnValue, boolean success) {
this.value = value;
this.returnValue = returnValue;
this.success = success;
}
public byte[] value() {
return value;
}
public boolean isReturnValue() {
return returnValue;
}
public boolean isSuccess() {
return success;
}
}