Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 140 for Unlock (0.25 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHook.java

            processDBFluteSystem();
        }
    
        protected void processDBFluteSystem() {
            DBFluteSystem.unlock();
            DBFluteSystem.setFinalTimeZoneProvider(createFinalTimeZoneProvider());
            DBFluteSystem.lock();
        }
    
        protected DfFinalTimeZoneProvider createFinalTimeZoneProvider() {
            return new DfFinalTimeZoneProvider() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheTesting.java

            drainRecencyQueue(segment);
          }
        }
      }
    
      static void drainRecencyQueue(Segment<?, ?> segment) {
        segment.lock();
        try {
          segment.cleanUp();
        } finally {
          segment.unlock();
        }
      }
    
      static void drainReferenceQueues(Cache<?, ?> cache) {
        if (hasLocalCache(cache)) {
          drainReferenceQueues(toLocalCache(cache));
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. cmd/bootstrap-peer-server.go

    				if clnt.gridConn.State() != grid.StateConnected {
    					mu.Lock()
    					offlineEndpoints = append(offlineEndpoints, fmt.Errorf("%s is unreachable: %w", clnt, grid.ErrDisconnected))
    					mu.Unlock()
    					return
    				}
    
    				ctx, cancel := context.WithTimeout(ctx, 2*time.Second)
    				defer cancel()
    
    				err := clnt.Verify(ctx, srcCfg)
    				mu.Lock()
    				if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    	if opts.CheckPrecondFn != nil {
    		// Lock the object before reading.
    		lk := er.NewNSLock(bucket, object)
    		lkctx, err := lk.GetRLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return nil, err
    		}
    		rctx := lkctx.Context()
    		obj, err := er.getObjectInfo(rctx, bucket, object, opts)
    		lk.RUnlock(lkctx)
    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    				p.mu.RLock()
    				workers := min(len(p.workers)+1, maxWorkers)
    				existing := len(p.workers)
    				p.mu.RUnlock()
    				p.ResizeWorkers(workers, existing)
    			}
    			maxMRFWorkers := min(maxWorkers, MRFWorkerMaxLimit)
    			if p.ActiveMRFWorkers() < maxMRFWorkers {
    				p.mu.RLock()
    				workers := min(p.mrfWorkerSize+1, maxMRFWorkers)
    				p.mu.RUnlock()
    				p.ResizeFailedWorkers(workers)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. internal/config/drive/drive.go

    // Update - updates the config with latest values
    func (c *Config) Update(new Config) error {
    	configLk.Lock()
    	defer configLk.Unlock()
    	c.MaxTimeout = getMaxTimeout(new.MaxTimeout)
    	return nil
    }
    
    // GetMaxTimeout - returns the max timeout value.
    func (c *Config) GetMaxTimeout() time.Duration {
    	configLk.RLock()
    	defer configLk.RUnlock()
    
    	return getMaxTimeout(c.MaxTimeout)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. cmd/config-current.go

    func newSrvConfig(objAPI ObjectLayer) error {
    	// Initialize server config.
    	srvCfg := newServerConfig()
    
    	// hold the mutex lock before a new config is assigned.
    	globalServerConfigMu.Lock()
    	globalServerConfig = srvCfg
    	globalServerConfigMu.Unlock()
    
    	// Save config into file.
    	return saveServerConfig(GlobalContext, objAPI, srvCfg)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
  8. cmd/signals.go

    	"github.com/minio/minio/internal/logger"
    )
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    	stopProcess := func() bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle.go

    	t.lastDayMu.Lock()
    	defer t.lastDayMu.Unlock()
    
    	if _, ok := t.lastDayStats[tier]; !ok {
    		t.lastDayStats[tier] = &lastDayTierStats{}
    	}
    	t.lastDayStats[tier].addStats(ts)
    }
    
    func (t *transitionState) getDailyAllTierStats() DailyAllTierStats {
    	t.lastDayMu.RLock()
    	defer t.lastDayMu.RUnlock()
    
    	res := make(DailyAllTierStats, len(t.lastDayStats))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    		if err != nil {
    			errResp(err)
    			return
    		}
    	}
    
    	nsLock := objectAPI.NewNSLock(minioMetaBucket, "health-check-in-progress")
    	lkctx, err := nsLock.GetLock(ctx, newDynamicTimeout(deadline, deadline))
    	if err != nil { // returns a locked lock
    		errResp(err)
    		return
    	}
    
    	defer nsLock.Unlock(lkctx)
    	healthCtx, healthCancel := context.WithTimeout(lkctx.Context(), deadline)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top