class RefCountSubscription implements Subscription {

    @Override
    public void unsubscribe() {
        State oldState;
        State newState;
        do {
            oldState = state;
            if (oldState.isUnsubscribed) {
                return;
            }
            newState = oldState.unsubscribe();
        } while (!STATE_UPDATER.compareAndSet(this, oldState, newState));
        unsubscribeActualIfApplicable(newState);
    }

    public  RefCountSubscription(Subscription s);

}