org.apache.flink.runtime.rest.messages.json.SerializedThrowableDeserializer Java Examples
The following examples show how to use
org.apache.flink.runtime.rest.messages.json.SerializedThrowableDeserializer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SavepointInfo.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@JsonCreator public SavepointInfo( @JsonProperty(FIELD_NAME_LOCATION) @Nullable final String location, @JsonProperty(FIELD_NAME_FAILURE_CAUSE) @JsonDeserialize(using = SerializedThrowableDeserializer.class) @Nullable final SerializedThrowable failureCause) { checkArgument( location != null ^ failureCause != null, "Either location or failureCause must be set"); this.location = location; this.failureCause = failureCause; }
Example #2
Source File: SavepointInfo.java From flink with Apache License 2.0 | 5 votes |
@JsonCreator public SavepointInfo( @JsonProperty(FIELD_NAME_LOCATION) @Nullable final String location, @JsonProperty(FIELD_NAME_FAILURE_CAUSE) @JsonDeserialize(using = SerializedThrowableDeserializer.class) @Nullable final SerializedThrowable failureCause) { checkArgument( location != null ^ failureCause != null, "Either location or failureCause must be set"); this.location = location; this.failureCause = failureCause; }
Example #3
Source File: SavepointInfo.java From flink with Apache License 2.0 | 5 votes |
@JsonCreator public SavepointInfo( @JsonProperty(FIELD_NAME_LOCATION) @Nullable final String location, @JsonProperty(FIELD_NAME_FAILURE_CAUSE) @JsonDeserialize(using = SerializedThrowableDeserializer.class) @Nullable final SerializedThrowable failureCause) { checkArgument( location != null ^ failureCause != null, "Either location or failureCause must be set"); this.location = location; this.failureCause = failureCause; }
Example #4
Source File: AsynchronousOperationInfo.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
private AsynchronousOperationInfo( @JsonProperty(FIELD_NAME_FAILURE_CAUSE) @JsonDeserialize(using = SerializedThrowableDeserializer.class) @Nullable SerializedThrowable failureCause) { this.failureCause = failureCause; }
Example #5
Source File: AsynchronousOperationInfo.java From flink with Apache License 2.0 | 4 votes |
private AsynchronousOperationInfo( @JsonProperty(FIELD_NAME_FAILURE_CAUSE) @JsonDeserialize(using = SerializedThrowableDeserializer.class) @Nullable SerializedThrowable failureCause) { this.failureCause = failureCause; }
Example #6
Source File: AsynchronousOperationInfo.java From flink with Apache License 2.0 | 4 votes |
private AsynchronousOperationInfo( @JsonProperty(FIELD_NAME_FAILURE_CAUSE) @JsonDeserialize(using = SerializedThrowableDeserializer.class) @Nullable SerializedThrowable failureCause) { this.failureCause = failureCause; }