Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for atomic (0.16 sec)

  1. cmd/xl-storage-disk-id-check.go

    	diskHealthOK int32 = iota
    	diskHealthFaulty
    )
    
    type diskHealthTracker struct {
    	// atomic time of last success
    	lastSuccess int64
    
    	// atomic time of last time a token was grabbed.
    	lastStarted int64
    
    	// Atomic status of disk.
    	status atomic.Int32
    
    	// Atomic number indicates if a disk is hung
    	waiting atomic.Int32
    }
    
    // newDiskHealthTracker creates a new disk health tracker.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. internal/rest/client.go

    	}
    	return clnt
    }
    
    // IsOnline returns whether the client is likely to be online.
    func (c *Client) IsOnline() bool {
    	return atomic.LoadInt32(&c.connected) == online
    }
    
    // LastConn returns when the disk was (re-)connected
    func (c *Client) LastConn() time.Time {
    	return time.Unix(0, atomic.LoadInt64(&c.lastConn))
    }
    
    // LastError returns previous error
    func (c *Client) LastError() error {
    	c.RLock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    	src     lcEventSrc
    }
    
    // expiryStats records metrics related to ILM expiry activities
    type expiryStats struct {
    	missedExpiryTasks      atomic.Int64
    	missedFreeVersTasks    atomic.Int64
    	missedTierJournalTasks atomic.Int64
    	workers                atomic.Int32
    }
    
    // MissedTasks returns the number of ILM expiry tasks that were missed since
    // there were no available workers.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. cmd/globals.go

    	"github.com/minio/minio/internal/config/browser"
    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/minio/internal/handlers"
    	"github.com/minio/minio/internal/kms"
    	"go.uber.org/atomic"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config/cache"
    	"github.com/minio/minio/internal/config/callhome"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    			log.Errorf("Failed to start up UDS Log Server: %v", err)
    			return
    		}
    
    		// Creates a basic health endpoint server that reports health status
    		// based on atomic flag, as set by installer
    		// TODO nodeagent watch server should affect this too, and drop atomic flag
    		installDaemonReady, watchServerReady := nodeagent.StartHealthServer()
    
    		if cfg.InstallConfig.AmbientEnabled {
    			// Start ambient controller
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

    import java.util.concurrent.ExecutorService
    import java.util.concurrent.RejectedExecutionException
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import java.util.concurrent.atomic.AtomicBoolean
    import java.util.concurrent.atomic.AtomicInteger
    import java.util.concurrent.locks.ReentrantLock
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.EventListener
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  7. cni/pkg/nodeagent/net_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"errors"
    	"net/netip"
    	"runtime"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  8. cmd/update.go

    package cmd
    
    import (
    	"bufio"
    	"crypto"
    	"crypto/tls"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/klauspost/compress/zstd"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ForkJoinPool;
    import java.util.concurrent.ForkJoinTask;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicReference;
    
    import org.apache.maven.api.model.Dependency;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Parent;
    import org.apache.maven.api.model.Repository;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/gob"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"path"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/cachevalue"
    	"github.com/minio/minio/internal/grid"
    	xhttp "github.com/minio/minio/internal/http"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top