com.jd.blockchain.utils.concurrent.InvocationResult Maven / Gradle / Ivy
The newest version!
package com.jd.blockchain.utils.concurrent;
public class InvocationResult {
private volatile T value;
private volatile Exception error;
public T getValue() {
return value;
}
public void setValue(T value) {
this.value = value;
}
public Exception getError() {
return error;
}
public void setError(Exception error) {
this.error = error;
}
}