@Override
    public void setApplicationInstanceStatus(ApplicationInstanceStatus applicationInstanceStatus) {
        if (probe) return;

        String path = statusService.applicationInstanceSuspendedPath(reference);
        switch (applicationInstanceStatus) {
            case NO_REMARKS -> deleteNode_ignoreNoNodeException(path);
            case ALLOWED_TO_BE_DOWN -> createNode_ignoreNodeExistsException(path);
        }
    }
ZooKeeper implementation of {@link ApplicationLock}.

@author hakonhall
orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZkApplicationLock.java