@Override public int compareTo(sendSupervisorWorkerHeartbeat_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = java.lang.Boolean.valueOf(is_set_aze()).compareTo(other.is_set_aze()); if (lastComparison != 0) { return lastComparison; } if (is_set_aze()) { lastComparison = org.apache.storm.thrift.TBaseHelper.compareTo(this.aze, other.aze); if (lastComparison != 0) { return lastComparison; } } return 0; }
public WorkerToken( WorkerTokenServiceType serviceType, java.nio.ByteBuffer info, java.nio.ByteBuffer signature) { this(); this.serviceType = serviceType; this.info = org.apache.storm.thrift.TBaseHelper.copyBinary(info); this.signature = org.apache.storm.thrift.TBaseHelper.copyBinary(signature); }
public byte[] get_key() { set_key(org.apache.storm.thrift.TBaseHelper.rightSize(key)); return key == null ? null : key.array(); }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((is_set_userName()) ? 131071 : 524287); if (is_set_userName()) hashCode = hashCode * 8191 + userName.hashCode(); hashCode = hashCode * 8191 + ((is_set_topologyId()) ? 131071 : 524287); if (is_set_topologyId()) hashCode = hashCode * 8191 + topologyId.hashCode(); hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(secretVersion); hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(expirationTimeMillis); return hashCode; }
@Override public java.lang.String toString() { java.lang.StringBuilder sb = new java.lang.StringBuilder("ThriftSerializedObject("); boolean first = true; sb.append("name:"); if (this.name == null) { sb.append("null"); } else { sb.append(this.name); } first = false; if (!first) sb.append(", "); sb.append("bits:"); if (this.bits == null) { sb.append("null"); } else { org.apache.storm.thrift.TBaseHelper.toString(this.bits, sb); } first = false; sb.append(")"); return sb.toString(); }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(version); hashCode = hashCode * 8191 + ((is_set_session()) ? 131071 : 524287); if (is_set_session()) hashCode = hashCode * 8191 + session.hashCode(); hashCode = hashCode * 8191 + ((is_set_data_size()) ? 131071 : 524287); if (is_set_data_size()) hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(data_size); return hashCode; }
@Override public java.lang.String toString() { java.lang.StringBuilder sb = new java.lang.StringBuilder("HBPulse("); boolean first = true; sb.append("id:"); if (this.id == null) { sb.append("null"); } else { sb.append(this.id); } first = false; if (!first) sb.append(", "); sb.append("details:"); if (this.details == null) { sb.append("null"); } else { org.apache.storm.thrift.TBaseHelper.toString(this.details, sb); } first = false; sb.append(")"); return sb.toString(); }
@Override public int compareTo(IllegalStateException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = java.lang.Boolean.valueOf(is_set_msg()).compareTo(other.is_set_msg()); if (lastComparison != 0) { return lastComparison; } if (is_set_msg()) { lastComparison = org.apache.storm.thrift.TBaseHelper.compareTo(this.msg, other.msg); if (lastComparison != 0) { return lastComparison; } } return 0; }
public ThriftSerializedObject( java.lang.String name, java.nio.ByteBuffer bits) { this(); this.name = name; this.bits = org.apache.storm.thrift.TBaseHelper.copyBinary(bits); }
public byte[] get_signature() { set_signature(org.apache.storm.thrift.TBaseHelper.rightSize(signature)); return signature == null ? null : signature.array(); }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((is_set_complete_latency_ms()) ? 131071 : 524287); if (is_set_complete_latency_ms()) hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(complete_latency_ms); return hashCode; }
@Override public java.lang.String toString() { java.lang.StringBuilder sb = new java.lang.StringBuilder("PrivateWorkerKey("); boolean first = true; sb.append("key:"); if (this.key == null) { sb.append("null"); } else { org.apache.storm.thrift.TBaseHelper.toString(this.key, sb); } first = false; if (!first) sb.append(", "); sb.append("userName:"); if (this.userName == null) { sb.append("null"); } else { sb.append(this.userName); } first = false; if (!first) sb.append(", "); sb.append("expirationTimeMillis:"); sb.append(this.expirationTimeMillis); first = false; sb.append(")"); return sb.toString(); }
@Override public int compareTo(AlreadyAliveException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = java.lang.Boolean.valueOf(is_set_msg()).compareTo(other.is_set_msg()); if (lastComparison != 0) { return lastComparison; } if (is_set_msg()) { lastComparison = org.apache.storm.thrift.TBaseHelper.compareTo(this.msg, other.msg); if (lastComparison != 0) { return lastComparison; } } return 0; }
public HBPulse( java.lang.String id, java.nio.ByteBuffer details) { this(); this.id = id; this.details = org.apache.storm.thrift.TBaseHelper.copyBinary(details); }
public byte[] get_bits() { set_bits(org.apache.storm.thrift.TBaseHelper.rightSize(bits)); return bits == null ? null : bits.array(); }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((is_set_execute_latency_ms()) ? 131071 : 524287); if (is_set_execute_latency_ms()) hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(execute_latency_ms); hashCode = hashCode * 8191 + ((is_set_process_latency_ms()) ? 131071 : 524287); if (is_set_process_latency_ms()) hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(process_latency_ms); hashCode = hashCode * 8191 + ((is_set_executed()) ? 131071 : 524287); if (is_set_executed()) hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(executed); hashCode = hashCode * 8191 + ((is_set_capacity()) ? 131071 : 524287); if (is_set_capacity()) hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(capacity); return hashCode; }
@Override public java.lang.String toString() { java.lang.StringBuilder sb = new java.lang.StringBuilder("WorkerToken("); boolean first = true; sb.append("serviceType:"); if (this.serviceType == null) { sb.append("null"); } else { sb.append(this.serviceType); } first = false; if (!first) sb.append(", "); sb.append("info:"); if (this.info == null) { sb.append("null"); } else { org.apache.storm.thrift.TBaseHelper.toString(this.info, sb); } first = false; if (!first) sb.append(", "); sb.append("signature:"); if (this.signature == null) { sb.append("null"); } else { org.apache.storm.thrift.TBaseHelper.toString(this.signature, sb); } first = false; sb.append(")"); return sb.toString(); }
@Override public int compareTo(LSTopoHistoryList other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = java.lang.Boolean.valueOf(is_set_topo_history()).compareTo(other.is_set_topo_history()); if (lastComparison != 0) { return lastComparison; } if (is_set_topo_history()) { lastComparison = org.apache.storm.thrift.TBaseHelper.compareTo(this.topo_history, other.topo_history); if (lastComparison != 0) { return lastComparison; } } return 0; }
public java.nio.ByteBuffer buffer_for_signature() { return org.apache.storm.thrift.TBaseHelper.copyBinary(signature); }
public byte[] get_details() { set_details(org.apache.storm.thrift.TBaseHelper.rightSize(details)); return details == null ? null : details.array(); }