Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkHealth (0.08 sec)

  1. cmd/healthcheck-handler.go

    package cmd
    
    import (
    	"context"
    	"net/http"
    	"strconv"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/kms"
    )
    
    const unavailable = "offline"
    
    func checkHealth(w http.ResponseWriter) ObjectLayer {
    	objLayer := newObjectLayerFn()
    	if objLayer == nil {
    		w.Header().Set(xhttp.MinIOServerStatus, unavailable)
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          listeners.addListener(listener, executor);
        }
    
        void awaitHealthy() {
          monitor.enterWhenUninterruptibly(awaitHealthGuard);
          try {
            checkHealthy();
          } finally {
            monitor.leave();
          }
        }
    
        void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
          monitor.enter();
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ServiceManager.java

          listeners.addListener(listener, executor);
        }
    
        void awaitHealthy() {
          monitor.enterWhenUninterruptibly(awaitHealthGuard);
          try {
            checkHealthy();
          } finally {
            monitor.leave();
          }
        }
    
        void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
          monitor.enter();
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top