OperationState<A, V> createCopy() {
    OperationState<A, V> result =
        new OperationState(opId, operation, operationStart);
    synchronized (this) {
      result.operationEnd = operationEnd;
      result.result = this.result;
      result.throwable = throwable;
      result.locator = locator;
    }
    return result;
  }
Creates and returns a copy of this operation state that will have
a consistent view of all the fields. In particular, it will have
all or nothing of fields that are being concurrently modified
when the copy is made.
geode-core/src/main/java/org/apache/geode/management/internal/operation/OperationState.java