reactor-core/src/main/java/reactor/core/publisher/MonoProcessor.java
@Override
	public long getAsLong() {
		//FIXME Should Be Removed alongside WaitStrategy
		NextInner<O>[] inners = subscribers;
		if (inners == TERMINATED) {
			if (error != null) {
				return 5L; // terminated with error
			}
			if (value == null) {
				return 4L; // terminated without value
			}
			return 3L; //terminated with value
		}

		if (subscription == Operators.cancelledSubscription()) {
			return -1L; //cancelled
		}

		if (subscribers != EMPTY && subscribers != EMPTY_WITH_SOURCE) {
			return 2L; // subscribed
		}

		return 0L;
	}
@Override
	public long getAsLong() {
		//FIXME Should Be Removed alongside WaitStrategy
		NextInner<O>[] inners = subscribers;
		if (inners == TERMINATED) {
			if (error != null) {
				return 5L; // terminated with error
			}
			if (value == null) {
				return 4L; // terminated without value
			}
			return 3L; //terminated with value
		}

		if (subscription == Operators.cancelledSubscription()) {
			return -1L; //cancelled
		}

		if (subscribers != EMPTY && subscribers != EMPTY_WITH_SOURCE) {
			return 2L; // subscribed
		}

		return 0L;
	}
Returns the internal state as a long fulfilled.
<ul>
<li>-1 : cancelled</li>
<li>0 : ready</li>
<li>2 : subscribed</li>
<li>3 : terminated with value</li>
<li>4 : terminated without value</li>
<li>5 : terminated with error</li>
</ul>

@return the internal state from -1 Cancelled to 5 errored, beyond 3 included is
fulfilled.
@deprecated  Should not use (to be removed in 3.2)