feat(worker,gateway): report record-info pin outcome in WorkerReady; drain-thread completion tests
The worker logged its MXSTATUS_PROXY record-info pin outcome only to its own stderr, which the gateway's launcher does not capture, so operators never saw whether the pin took. - Contract (additive, internal IPC): WorkerReady.record_info_pin_status = 5. No protocol version bump; an older peer ignores it or sends it empty. Regenerated Contracts/Generated, the client protoset, the Rust vendored proto, and the Go/Python/Java worker bindings (real delta only). - Worker: the handshake copies MxStatusProxyRecordInfoPin.Status into WorkerReady unless the runtime already set it. - Gateway: WorkerClient records it (IWorkerClient.RecordInfoPinStatus, default null) and logs it at Information when pinned, Warning otherwise; empty is not logged. Shown as "Record-info pin" in the dashboard session details Worker table via DashboardSessionSummary.WorkerRecordInfoPinStatus. - Tests: drain-thread cancellation (task ends Canceled; RunAsync cancels, runtime disposed, thread exits, no EventDrain stop-failure log) and fault (exception on the thread faults RunAsync with the same instance) paths; WorkerReady carries the pin status; gateway logging/recording and the dashboard projection. - Docs: gateway.md STA thread model (drain thread, pin step in COM lifetime), MxAccessWorkerInstanceDesign, GatewayProcessDesign, GatewayDashboardDesign, WorkerFrameProtocol.
This commit is contained in:
@@ -5477,6 +5477,36 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
* <code>.google.protobuf.Timestamp ready_timestamp = 4;</code>
|
||||
*/
|
||||
com.google.protobuf.TimestampOrBuilder getReadyTimestampOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
|
||||
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
|
||||
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
|
||||
* worker made no attempt (an older worker, or a runtime that never created the
|
||||
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
|
||||
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
|
||||
* </pre>
|
||||
*
|
||||
* <code>string record_info_pin_status = 5;</code>
|
||||
* @return The recordInfoPinStatus.
|
||||
*/
|
||||
java.lang.String getRecordInfoPinStatus();
|
||||
/**
|
||||
* <pre>
|
||||
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
|
||||
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
|
||||
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
|
||||
* worker made no attempt (an older worker, or a runtime that never created the
|
||||
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
|
||||
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
|
||||
* </pre>
|
||||
*
|
||||
* <code>string record_info_pin_status = 5;</code>
|
||||
* @return The bytes for recordInfoPinStatus.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getRecordInfoPinStatusBytes();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code mxaccess_worker.v1.WorkerReady}
|
||||
@@ -5502,6 +5532,7 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
private WorkerReady() {
|
||||
mxaccessProgid_ = "";
|
||||
mxaccessClsid_ = "";
|
||||
recordInfoPinStatus_ = "";
|
||||
}
|
||||
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
@@ -5633,6 +5664,63 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
return readyTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readyTimestamp_;
|
||||
}
|
||||
|
||||
public static final int RECORD_INFO_PIN_STATUS_FIELD_NUMBER = 5;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object recordInfoPinStatus_ = "";
|
||||
/**
|
||||
* <pre>
|
||||
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
|
||||
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
|
||||
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
|
||||
* worker made no attempt (an older worker, or a runtime that never created the
|
||||
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
|
||||
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
|
||||
* </pre>
|
||||
*
|
||||
* <code>string record_info_pin_status = 5;</code>
|
||||
* @return The recordInfoPinStatus.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getRecordInfoPinStatus() {
|
||||
java.lang.Object ref = recordInfoPinStatus_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
return (java.lang.String) ref;
|
||||
} else {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
recordInfoPinStatus_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
|
||||
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
|
||||
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
|
||||
* worker made no attempt (an older worker, or a runtime that never created the
|
||||
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
|
||||
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
|
||||
* </pre>
|
||||
*
|
||||
* <code>string record_info_pin_status = 5;</code>
|
||||
* @return The bytes for recordInfoPinStatus.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getRecordInfoPinStatusBytes() {
|
||||
java.lang.Object ref = recordInfoPinStatus_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
recordInfoPinStatus_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -5659,6 +5747,9 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
output.writeMessage(4, getReadyTimestamp());
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(recordInfoPinStatus_)) {
|
||||
com.google.protobuf.GeneratedMessage.writeString(output, 5, recordInfoPinStatus_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
@@ -5682,6 +5773,9 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, getReadyTimestamp());
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(recordInfoPinStatus_)) {
|
||||
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, recordInfoPinStatus_);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -5708,6 +5802,8 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
if (!getReadyTimestamp()
|
||||
.equals(other.getReadyTimestamp())) return false;
|
||||
}
|
||||
if (!getRecordInfoPinStatus()
|
||||
.equals(other.getRecordInfoPinStatus())) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -5729,6 +5825,8 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
hash = (37 * hash) + READY_TIMESTAMP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getReadyTimestamp().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + RECORD_INFO_PIN_STATUS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRecordInfoPinStatus().hashCode();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -5874,6 +5972,7 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
readyTimestampBuilder_.dispose();
|
||||
readyTimestampBuilder_ = null;
|
||||
}
|
||||
recordInfoPinStatus_ = "";
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -5923,6 +6022,9 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
: readyTimestampBuilder_.build();
|
||||
to_bitField0_ |= 0x00000001;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000010) != 0)) {
|
||||
result.recordInfoPinStatus_ = recordInfoPinStatus_;
|
||||
}
|
||||
result.bitField0_ |= to_bitField0_;
|
||||
}
|
||||
|
||||
@@ -5954,6 +6056,11 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
if (other.hasReadyTimestamp()) {
|
||||
mergeReadyTimestamp(other.getReadyTimestamp());
|
||||
}
|
||||
if (!other.getRecordInfoPinStatus().isEmpty()) {
|
||||
recordInfoPinStatus_ = other.recordInfoPinStatus_;
|
||||
bitField0_ |= 0x00000010;
|
||||
onChanged();
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -6002,6 +6109,11 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
bitField0_ |= 0x00000008;
|
||||
break;
|
||||
} // case 34
|
||||
case 42: {
|
||||
recordInfoPinStatus_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000010;
|
||||
break;
|
||||
} // case 42
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
@@ -6316,6 +6428,123 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
return readyTimestampBuilder_;
|
||||
}
|
||||
|
||||
private java.lang.Object recordInfoPinStatus_ = "";
|
||||
/**
|
||||
* <pre>
|
||||
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
|
||||
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
|
||||
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
|
||||
* worker made no attempt (an older worker, or a runtime that never created the
|
||||
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
|
||||
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
|
||||
* </pre>
|
||||
*
|
||||
* <code>string record_info_pin_status = 5;</code>
|
||||
* @return The recordInfoPinStatus.
|
||||
*/
|
||||
public java.lang.String getRecordInfoPinStatus() {
|
||||
java.lang.Object ref = recordInfoPinStatus_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
recordInfoPinStatus_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
|
||||
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
|
||||
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
|
||||
* worker made no attempt (an older worker, or a runtime that never created the
|
||||
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
|
||||
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
|
||||
* </pre>
|
||||
*
|
||||
* <code>string record_info_pin_status = 5;</code>
|
||||
* @return The bytes for recordInfoPinStatus.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getRecordInfoPinStatusBytes() {
|
||||
java.lang.Object ref = recordInfoPinStatus_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
recordInfoPinStatus_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
|
||||
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
|
||||
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
|
||||
* worker made no attempt (an older worker, or a runtime that never created the
|
||||
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
|
||||
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
|
||||
* </pre>
|
||||
*
|
||||
* <code>string record_info_pin_status = 5;</code>
|
||||
* @param value The recordInfoPinStatus to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRecordInfoPinStatus(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
recordInfoPinStatus_ = value;
|
||||
bitField0_ |= 0x00000010;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
|
||||
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
|
||||
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
|
||||
* worker made no attempt (an older worker, or a runtime that never created the
|
||||
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
|
||||
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
|
||||
* </pre>
|
||||
*
|
||||
* <code>string record_info_pin_status = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRecordInfoPinStatus() {
|
||||
recordInfoPinStatus_ = getDefaultInstance().getRecordInfoPinStatus();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Outcome of the worker's process-wide MXSTATUS_PROXY record-info pin
|
||||
* (MxStatusProxyRecordInfoPin): "pinned {library-guid} vM.m record {record-guid}" on
|
||||
* success, or the failing call and HRESULT / exception type otherwise. Empty when the
|
||||
* worker made no attempt (an older worker, or a runtime that never created the
|
||||
* MXAccess COM object). Diagnostic only: the gateway logs it and shows it on the
|
||||
* dashboard, and never gates readiness on it, because the pin is a cache warm-up.
|
||||
* </pre>
|
||||
*
|
||||
* <code>string record_info_pin_status = 5;</code>
|
||||
* @param value The bytes for recordInfoPinStatus to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRecordInfoPinStatusBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
recordInfoPinStatus_ = value;
|
||||
bitField0_ |= 0x00000010;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:mxaccess_worker.v1.WorkerReady)
|
||||
}
|
||||
|
||||
@@ -12698,60 +12927,61 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
"ay_version\030\003 \001(\t\022\027\n\017max_frame_bytes\030\004 \001(" +
|
||||
"\r\"i\n\013WorkerHello\022\030\n\020protocol_version\030\001 \001" +
|
||||
"(\r\022\r\n\005nonce\030\002 \001(\t\022\031\n\021worker_process_id\030\003" +
|
||||
" \001(\005\022\026\n\016worker_version\030\004 \001(\t\"\216\001\n\013WorkerR" +
|
||||
" \001(\005\022\026\n\016worker_version\030\004 \001(\t\"\256\001\n\013WorkerR" +
|
||||
"eady\022\031\n\021worker_process_id\030\001 \001(\005\022\027\n\017mxacc" +
|
||||
"ess_progid\030\002 \001(\t\022\026\n\016mxaccess_clsid\030\003 \001(\t" +
|
||||
"\0223\n\017ready_timestamp\030\004 \001(\0132\032.google.proto" +
|
||||
"buf.Timestamp\"w\n\rWorkerCommand\022/\n\007comman" +
|
||||
"d\030\001 \001(\0132\036.mxaccess_gateway.v1.MxCommand\022" +
|
||||
"5\n\021enqueue_timestamp\030\002 \001(\0132\032.google.prot" +
|
||||
"obuf.Timestamp\"\201\001\n\022WorkerCommandReply\0222\n" +
|
||||
"\005reply\030\001 \001(\0132#.mxaccess_gateway.v1.MxCom" +
|
||||
"mandReply\0227\n\023completed_timestamp\030\002 \001(\0132\032" +
|
||||
".google.protobuf.Timestamp\"\036\n\014WorkerCanc" +
|
||||
"el\022\016\n\006reason\030\001 \001(\t\"Q\n\016WorkerShutdown\022/\n\014" +
|
||||
"grace_period\030\001 \001(\0132\031.google.protobuf.Dur" +
|
||||
"ation\022\016\n\006reason\030\002 \001(\t\"H\n\021WorkerShutdownA" +
|
||||
"ck\0223\n\006status\030\001 \001(\0132#.mxaccess_gateway.v1" +
|
||||
".ProtocolStatus\":\n\013WorkerEvent\022+\n\005event\030" +
|
||||
"\001 \001(\0132\034.mxaccess_gateway.v1.MxEvent\"\245\002\n\017" +
|
||||
"WorkerHeartbeat\022\031\n\021worker_process_id\030\001 \001" +
|
||||
"(\005\022.\n\005state\030\002 \001(\0162\037.mxaccess_worker.v1.W" +
|
||||
"orkerState\022?\n\033last_sta_activity_timestam" +
|
||||
"p\030\003 \001(\0132\032.google.protobuf.Timestamp\022\035\n\025p" +
|
||||
"ending_command_count\030\004 \001(\r\022\"\n\032outbound_e" +
|
||||
"vent_queue_depth\030\005 \001(\r\022\033\n\023last_event_seq" +
|
||||
"uence\030\006 \001(\004\022&\n\036current_command_correlati" +
|
||||
"on_id\030\007 \001(\t\"\364\001\n\013WorkerFault\0229\n\010category\030" +
|
||||
"\001 \001(\0162\'.mxaccess_worker.v1.WorkerFaultCa" +
|
||||
"tegory\022\026\n\016command_method\030\002 \001(\t\022\024\n\007hresul" +
|
||||
"t\030\003 \001(\005H\000\210\001\001\022\026\n\016exception_type\030\004 \001(\t\022\032\n\022" +
|
||||
"diagnostic_message\030\005 \001(\t\022<\n\017protocol_sta" +
|
||||
"tus\030\006 \001(\0132#.mxaccess_gateway.v1.Protocol" +
|
||||
"StatusB\n\n\010_hresult*\227\002\n\013WorkerState\022\034\n\030WO" +
|
||||
"RKER_STATE_UNSPECIFIED\020\000\022\031\n\025WORKER_STATE" +
|
||||
"_STARTING\020\001\022\034\n\030WORKER_STATE_HANDSHAKING\020" +
|
||||
"\002\022!\n\035WORKER_STATE_INITIALIZING_STA\020\003\022\026\n\022" +
|
||||
"WORKER_STATE_READY\020\004\022\"\n\036WORKER_STATE_EXE" +
|
||||
"CUTING_COMMAND\020\005\022\036\n\032WORKER_STATE_SHUTTIN" +
|
||||
"G_DOWN\020\006\022\030\n\024WORKER_STATE_STOPPED\020\007\022\030\n\024WO" +
|
||||
"RKER_STATE_FAULTED\020\010*\307\004\n\023WorkerFaultCate" +
|
||||
"gory\022%\n!WORKER_FAULT_CATEGORY_UNSPECIFIE" +
|
||||
"D\020\000\022+\n\'WORKER_FAULT_CATEGORY_INVALID_ARG" +
|
||||
"UMENTS\020\001\0227\n3WORKER_FAULT_CATEGORY_GATEWA" +
|
||||
"Y_AUTHENTICATION_FAILED\020\002\022+\n\'WORKER_FAUL" +
|
||||
"T_CATEGORY_PROTOCOL_MISMATCH\020\003\022,\n(WORKER" +
|
||||
"_FAULT_CATEGORY_PROTOCOL_VIOLATION\020\004\022+\n\'" +
|
||||
"WORKER_FAULT_CATEGORY_PIPE_DISCONNECTED\020" +
|
||||
"\005\0222\n.WORKER_FAULT_CATEGORY_MXACCESS_CREA" +
|
||||
"TION_FAILED\020\006\0221\n-WORKER_FAULT_CATEGORY_M" +
|
||||
"XACCESS_COMMAND_FAILED\020\007\022:\n6WORKER_FAULT" +
|
||||
"_CATEGORY_MXACCESS_EVENT_CONVERSION_FAIL" +
|
||||
"ED\020\010\022\"\n\036WORKER_FAULT_CATEGORY_STA_HUNG\020\t" +
|
||||
"\022(\n$WORKER_FAULT_CATEGORY_QUEUE_OVERFLOW" +
|
||||
"\020\n\022*\n&WORKER_FAULT_CATEGORY_SHUTDOWN_TIM" +
|
||||
"EOUT\020\013B&\252\002#ZB.MOM.WW.MxGateway.Contracts" +
|
||||
".Protob\006proto3"
|
||||
"buf.Timestamp\022\036\n\026record_info_pin_status\030" +
|
||||
"\005 \001(\t\"w\n\rWorkerCommand\022/\n\007command\030\001 \001(\0132" +
|
||||
"\036.mxaccess_gateway.v1.MxCommand\0225\n\021enque" +
|
||||
"ue_timestamp\030\002 \001(\0132\032.google.protobuf.Tim" +
|
||||
"estamp\"\201\001\n\022WorkerCommandReply\0222\n\005reply\030\001" +
|
||||
" \001(\0132#.mxaccess_gateway.v1.MxCommandRepl" +
|
||||
"y\0227\n\023completed_timestamp\030\002 \001(\0132\032.google." +
|
||||
"protobuf.Timestamp\"\036\n\014WorkerCancel\022\016\n\006re" +
|
||||
"ason\030\001 \001(\t\"Q\n\016WorkerShutdown\022/\n\014grace_pe" +
|
||||
"riod\030\001 \001(\0132\031.google.protobuf.Duration\022\016\n" +
|
||||
"\006reason\030\002 \001(\t\"H\n\021WorkerShutdownAck\0223\n\006st" +
|
||||
"atus\030\001 \001(\0132#.mxaccess_gateway.v1.Protoco" +
|
||||
"lStatus\":\n\013WorkerEvent\022+\n\005event\030\001 \001(\0132\034." +
|
||||
"mxaccess_gateway.v1.MxEvent\"\245\002\n\017WorkerHe" +
|
||||
"artbeat\022\031\n\021worker_process_id\030\001 \001(\005\022.\n\005st" +
|
||||
"ate\030\002 \001(\0162\037.mxaccess_worker.v1.WorkerSta" +
|
||||
"te\022?\n\033last_sta_activity_timestamp\030\003 \001(\0132" +
|
||||
"\032.google.protobuf.Timestamp\022\035\n\025pending_c" +
|
||||
"ommand_count\030\004 \001(\r\022\"\n\032outbound_event_que" +
|
||||
"ue_depth\030\005 \001(\r\022\033\n\023last_event_sequence\030\006 " +
|
||||
"\001(\004\022&\n\036current_command_correlation_id\030\007 " +
|
||||
"\001(\t\"\364\001\n\013WorkerFault\0229\n\010category\030\001 \001(\0162\'." +
|
||||
"mxaccess_worker.v1.WorkerFaultCategory\022\026" +
|
||||
"\n\016command_method\030\002 \001(\t\022\024\n\007hresult\030\003 \001(\005H" +
|
||||
"\000\210\001\001\022\026\n\016exception_type\030\004 \001(\t\022\032\n\022diagnost" +
|
||||
"ic_message\030\005 \001(\t\022<\n\017protocol_status\030\006 \001(" +
|
||||
"\0132#.mxaccess_gateway.v1.ProtocolStatusB\n" +
|
||||
"\n\010_hresult*\227\002\n\013WorkerState\022\034\n\030WORKER_STA" +
|
||||
"TE_UNSPECIFIED\020\000\022\031\n\025WORKER_STATE_STARTIN" +
|
||||
"G\020\001\022\034\n\030WORKER_STATE_HANDSHAKING\020\002\022!\n\035WOR" +
|
||||
"KER_STATE_INITIALIZING_STA\020\003\022\026\n\022WORKER_S" +
|
||||
"TATE_READY\020\004\022\"\n\036WORKER_STATE_EXECUTING_C" +
|
||||
"OMMAND\020\005\022\036\n\032WORKER_STATE_SHUTTING_DOWN\020\006" +
|
||||
"\022\030\n\024WORKER_STATE_STOPPED\020\007\022\030\n\024WORKER_STA" +
|
||||
"TE_FAULTED\020\010*\307\004\n\023WorkerFaultCategory\022%\n!" +
|
||||
"WORKER_FAULT_CATEGORY_UNSPECIFIED\020\000\022+\n\'W" +
|
||||
"ORKER_FAULT_CATEGORY_INVALID_ARGUMENTS\020\001" +
|
||||
"\0227\n3WORKER_FAULT_CATEGORY_GATEWAY_AUTHEN" +
|
||||
"TICATION_FAILED\020\002\022+\n\'WORKER_FAULT_CATEGO" +
|
||||
"RY_PROTOCOL_MISMATCH\020\003\022,\n(WORKER_FAULT_C" +
|
||||
"ATEGORY_PROTOCOL_VIOLATION\020\004\022+\n\'WORKER_F" +
|
||||
"AULT_CATEGORY_PIPE_DISCONNECTED\020\005\0222\n.WOR" +
|
||||
"KER_FAULT_CATEGORY_MXACCESS_CREATION_FAI" +
|
||||
"LED\020\006\0221\n-WORKER_FAULT_CATEGORY_MXACCESS_" +
|
||||
"COMMAND_FAILED\020\007\022:\n6WORKER_FAULT_CATEGOR" +
|
||||
"Y_MXACCESS_EVENT_CONVERSION_FAILED\020\010\022\"\n\036" +
|
||||
"WORKER_FAULT_CATEGORY_STA_HUNG\020\t\022(\n$WORK" +
|
||||
"ER_FAULT_CATEGORY_QUEUE_OVERFLOW\020\n\022*\n&WO" +
|
||||
"RKER_FAULT_CATEGORY_SHUTDOWN_TIMEOUT\020\013B&" +
|
||||
"\252\002#ZB.MOM.WW.MxGateway.Contracts.Protob\006" +
|
||||
"proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -12783,7 +13013,7 @@ public final class MxaccessWorker extends com.google.protobuf.GeneratedFile {
|
||||
internal_static_mxaccess_worker_v1_WorkerReady_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_mxaccess_worker_v1_WorkerReady_descriptor,
|
||||
new java.lang.String[] { "WorkerProcessId", "MxaccessProgid", "MxaccessClsid", "ReadyTimestamp", });
|
||||
new java.lang.String[] { "WorkerProcessId", "MxaccessProgid", "MxaccessClsid", "ReadyTimestamp", "RecordInfoPinStatus", });
|
||||
internal_static_mxaccess_worker_v1_WorkerCommand_descriptor =
|
||||
getDescriptor().getMessageType(4);
|
||||
internal_static_mxaccess_worker_v1_WorkerCommand_fieldAccessorTable = new
|
||||
|
||||
Reference in New Issue
Block a user