operator/src/main/java/oracle/kubernetes/operator/DomainProcessorImpl.java
public void stopNamespace(String ns) {
    try (LoggingContext stack = LoggingContext.setThreadContext().namespace(ns)) {
      Map<String, DomainPresenceInfo> map = DOMAINS.get(ns);
      if (map != null) {
        for (DomainPresenceInfo dpi : map.values()) {
          Domain dom = dpi.getDomain();
          DomainPresenceInfo value =
              (dom != null)
                  ? new DomainPresenceInfo(dom)
                  : new DomainPresenceInfo(dpi.getNamespace(), dpi.getDomainUid());
          value.setDeleting(true);
          value.setPopulated(true);
          createMakeRightOperation(value).withExplicitRecheck().forDeletion().execute();
        }
      }
    }
  }
/**
   * Stop namespace.
   * @param ns namespace
   */
Stop namespace.
@param ns namespace
Stop namespace . @param ns namespace
public void stopNamespace(String ns) {
    try (LoggingContext stack = LoggingContext.setThreadContext().namespace(ns)) {
      Map<String, DomainPresenceInfo> map = DOMAINS.get(ns);
      if (map != null) {
        for (DomainPresenceInfo dpi : map.values()) {
          Domain dom = dpi.getDomain();
          DomainPresenceInfo value =
              (dom != null)
                  ? new DomainPresenceInfo(dom)
                  : new DomainPresenceInfo(dpi.getNamespace(), dpi.getDomainUid());
          value.setDeleting(true);
          value.setPopulated(true);
          createMakeRightOperation(value).withExplicitRecheck().forDeletion().execute();
        }
      }
    }
  }
public void stopNamespace ( String ns ) { try ( LoggingContext stack = LoggingContext . setThreadContext ( ) . namespace ( ns ) ) { Map < String , DomainPresenceInfo > map = DOMAINS . get ( ns ) ; if ( map != null ) { for ( DomainPresenceInfo dpi : map . values ( ) ) { Domain dom = dpi . getDomain ( ) ; DomainPresenceInfo value = ( dom != null ) ? new DomainPresenceInfo ( dom ) : new DomainPresenceInfo ( dpi . getNamespace ( ) , dpi . getDomainUid ( ) ) ; value . setDeleting ( true ) ; value . setPopulated ( true ) ; createMakeRightOperation ( value ) . withExplicitRecheck ( ) . forDeletion ( ) . execute ( ) ; } } } }
Stop namespace.
Stop namespace .