public void send_getBulk(String domain_name, List<ByteBuffer> keys) throws org.apache.thrift.TException { getBulk_args args = new getBulk_args(); args.set_domain_name(domain_name); args.set_keys(keys); sendBase("getBulk", args); }
public get_result getResult(I iface, get_args args) throws org.apache.thrift.TException { get_result result = new get_result(); result.success = iface.get(args.domain_name, args.key); return result; } }
/** * Performs a deep copy on <i>other</i>. */ public get_result(get_result other) { if (other.is_set_success()) { this.success = new HankResponse(other.success); } }
public void send_getBulk(int domain_id, List<ByteBuffer> keys) throws org.apache.thrift.TException { getBulk_args args = new getBulk_args(); args.set_domain_id(domain_id); args.set_keys(keys); sendBase("getBulk", args); }
public void send_get(String domain_name, ByteBuffer key) throws org.apache.thrift.TException { get_args args = new get_args(); args.set_domain_name(domain_name); args.set_key(key); sendBase("get", args); }
public void send_get(int domain_id, ByteBuffer key) throws org.apache.thrift.TException { get_args args = new get_args(); args.set_domain_id(domain_id); args.set_key(key); sendBase("get", args); }
public getBulk_result getResult(I iface, getBulk_args args) throws org.apache.thrift.TException { getBulk_result result = new getBulk_result(); result.success = iface.getBulk(args.domain_name, args.keys); return result; } }
public get_result getResult(I iface, get_args args) throws org.apache.thrift.TException { get_result result = new get_result(); result.success = iface.get(args.domain_id, args.key); return result; } }
public getBulk_result getResult(I iface, getBulk_args args) throws org.apache.thrift.TException { getBulk_result result = new getBulk_result(); result.success = iface.getBulk(args.domain_id, args.keys); return result; } }
/** * Performs a deep copy on <i>other</i>. */ public get_result(get_result other) { if (other.is_set_success()) { this.success = new HankResponse(other.success); } }
/** * Performs a deep copy on <i>other</i>. */ public getBulk_result(getBulk_result other) { if (other.is_set_success()) { this.success = new HankBulkResponse(other.success); } }
/** * Performs a deep copy on <i>other</i>. */ public getBulk_result(getBulk_result other) { if (other.is_set_success()) { this.success = new HankBulkResponse(other.success); } }
public boolean equals(getBulk_result that) { if (that == null) return false; boolean this_present_success = true && this.is_set_success(); boolean that_present_success = true && that.is_set_success(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; }
public boolean equals(get_result that) { if (that == null) return false; boolean this_present_success = true && this.is_set_success(); boolean that_present_success = true && that.is_set_success(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; }
public boolean equals(get_result that) { if (that == null) return false; boolean this_present_success = true && this.is_set_success(); boolean that_present_success = true && that.is_set_success(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; }
public boolean equals(getBulk_result that) { if (that == null) return false; boolean this_present_success = true && this.is_set_success(); boolean that_present_success = true && that.is_set_success(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; }
public void setFieldValue(_Fields field, Object value) { switch (field) { case DOMAIN_STATISTICS: if (value == null) { unset_domain_statistics(); } else { set_domain_statistics((Map<String,DomainStatisticsSummary>)value); } break; } }
@Override public void clear() { this.host = null; set_connected_at_isSet(false); this.connected_at = 0; this.type = null; this.version = null; }
public DomainStatisticsSummary set_cache_max_num_managed_bytes(long cache_max_num_managed_bytes) { this.cache_max_num_managed_bytes = cache_max_num_managed_bytes; set_cache_max_num_managed_bytes_isSet(true); return this; }
public ClientMetadata set_connected_at(long connected_at) { this.connected_at = connected_at; set_connected_at_isSet(true); return this; }