Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for cached_value (0.08 sec)

  1. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

                }
            });
    
            MockletHttpServletRequest request = getMockRequest();
            request.setAttribute(FessConfig.VIRTUAL_HOST_VALUE, "cached_value");
    
            String key = virtualHostHelper.getVirtualHostKey();
            assertEquals("cached_value", key);
        }
    
        public void test_processVirtualHost() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cache.go

    	memoryMetrics       *cachevalue.Cache[madmin.MemInfo]
    	cpuMetrics          *cachevalue.Cache[madmin.CPUMetrics]
    	clusterDriveMetrics *cachevalue.Cache[storageMetrics]
    	nodesUpDown         *cachevalue.Cache[nodesOnline]
    }
    
    func newMetricsCache() *metricsCache {
    	return &metricsCache{
    		dataUsageInfo:       newDataUsageInfoCache(),
    		esetHealthResult:    newESetHealthResultCache(),
    		driveMetrics:        newDriveMetricsCache(),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. cmd/data-usage.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"strings"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/cachevalue"
    )
    
    const (
    	dataUsageRoot   = SlashSeparator
    	dataUsageBucket = minioMetaBucket + SlashSeparator + bucketMetaPrefix
    
    	dataUsageObjName       = ".usage.json"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        return CollectSpliterators.map(entrySet().spliterator(), Entry::getKey);
      }
    
      private transient @Nullable ImmutableCollection<V> cachedValues = null;
    
      @Override
      public ImmutableCollection<V> values() {
        if (cachedValues != null) {
          return cachedValues;
        }
        return cachedValues = createValues();
      }
    
      // cached so that this.multimapView().inverse() only computes inverse once
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        Object cachedKey = new Object();
        Object cachedValue = new Object();
        Cache<Object, Object> cache =
            new AbstractCache<Object, Object>() {
              @Override
              public @Nullable Object getIfPresent(Object key) {
                return cachedKey.equals(key) ? cachedValue : null;
              }
            };
    
        assertEquals(
            ImmutableMap.of(cachedKey, cachedValue),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. cmd/data-usage_test.go

    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    			sizeS.versions++
    			return sizeS, nil
    		}
    		return
    	}
    	xls := xlStorage{drivePath: base, diskInfoCache: cachevalue.New[DiskInfo]()}
    	xls.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (DiskInfo, error) {
    		return DiskInfo{Total: 1 << 40, Free: 1 << 40}, nil
    	})
    	weSleep := func() bool { return false }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. cmd/bucket-quota.go

    func NewBucketQuotaSys() *BucketQuotaSys {
    	return &BucketQuotaSys{}
    }
    
    var bucketStorageCache = cachevalue.New[DataUsageInfo]()
    
    // Init initialize bucket quota.
    func (sys *BucketQuotaSys) Init(objAPI ObjectLayer) {
    	bucketStorageCache.InitOnce(10*time.Second,
    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func(ctx context.Context) (DataUsageInfo, error) {
    			if objAPI == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 06 23:48:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    	"io"
    	"net/http"
    	"net/url"
    	"path"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bpool"
    	"github.com/minio/minio/internal/cachevalue"
    	"github.com/minio/minio/internal/grid"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/rest"
    	xnet "github.com/minio/pkg/v3/net"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    	storage      *xlStorage
    	health       *diskHealthTracker
    	healthCheck  bool
    
    	metricsCache *cachevalue.Cache[DiskMetrics]
    	diskCtx      context.Context
    	diskCancel   context.CancelFunc
    }
    
    func (p *xlStorageDiskIDCheck) getMetrics() DiskMetrics {
    	p.metricsCache.InitOnce(5*time.Second,
    		cachevalue.Opts{},
    		func(ctx context.Context) (DiskMetrics, error) {
    			diskMetric := DiskMetrics{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	"github.com/klauspost/filepathx"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/cachevalue"
    	"github.com/minio/minio/internal/config/storageclass"
    
    	"github.com/minio/minio/internal/disk"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/pkg/xattr"
    )
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top