Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getReport (0.35 sec)

  1. internal/bucket/bandwidth/monitor.go

    	BucketStats map[BucketOptions]Details `json:"bucketStats,omitempty"`
    }
    
    // GetReport gets the report for all bucket bandwidth details.
    func (m *Monitor) GetReport(selectBucket SelectionFunction) *BucketBandwidthReport {
    	m.mlock.RLock()
    	defer m.mlock.RUnlock()
    	return m.getReport(selectBucket)
    }
    
    func (m *Monitor) getReport(selectBucket SelectionFunction) *BucketBandwidthReport {
    	report := &BucketBandwidthReport{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/monitor_test.go

    				NodeCount:          1,
    			}
    			m.bucketsMeasurement[BucketOptions{Name: "bucket", ReplicationARN: "arn"}].updateExponentialMovingAverage(tt.fields.endTime)
    			got := m.GetReport(SelectBuckets())
    			if !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("GetReport() = %v, want %v", got, tt.want)
    			}
    			m.bucketsMeasurement[BucketOptions{Name: "bucket", ReplicationARN: "arn"}].incrementBytes(tt.fields.update2)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. cmd/notification.go

    			sys.peerClients[index].host.String())
    		ctx := logger.SetReqInfo(ctx, reqInfo)
    		peersLogOnceIf(ctx, err, sys.peerClients[index].host.String())
    	}
    	reports = append(reports, globalBucketMonitor.GetReport(bandwidth.SelectBuckets(buckets...)))
    	consolidatedReport := bandwidth.BucketBandwidthReport{
    		BucketStats: make(map[bandwidth.BucketOptions]bandwidth.Details),
    	}
    	for _, report := range reports {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    func (s *peerRESTServer) GetBandwidth(params *grid.URLValues) (*bandwidth.BucketBandwidthReport, *grid.RemoteErr) {
    	buckets := params.Values().Get("buckets")
    	selectBuckets := b.SelectBuckets(buckets)
    	return globalBucketMonitor.GetReport(selectBuckets), nil
    }
    
    func (s *peerRESTServer) GetResourceMetrics(_ *grid.MSS) (*grid.Array[*MetricV2], *grid.RemoteErr) {
    	res := make([]*MetricV2, 0, len(resourceMetricsGroups))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

                    smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain);
                    smbAuth.setServer(fileAuth.getHostname());
                    smbAuth.setPort(fileAuth.getPort() == null ? -1 : fileAuth.getPort());
                    smbAuth.setUsername(fileAuth.getUsername());
                    smbAuth.setPassword(fileAuth.getPassword());
                    smbAuthList.add(smbAuth);
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

        protected abstract DirectoryProperty getDocsDirectory();
    
        @Input
        protected abstract Property<Integer> getPort();
    
        @Nested
        protected abstract Property<JavaLauncher> getJavaLauncher();
    
        @TaskAction
        public void startApplication() {
            System.out.println("serving docs at http://localhost:" + getPort().get());
            DeploymentRegistry registry = getDeploymentRegistry();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 18 12:38:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

      ) : Socket() {
        override fun getInetAddress() = remoteAddress
    
        override fun getLocalAddress() = localAddress
    
        override fun getLocalPort() = localPort
    
        override fun getPort() = remotePort
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        return delegate!!.localPort
      }
    
      @Throws(IOException::class)
      override fun getOutputStream(): OutputStream {
        return delegate!!.outputStream
      }
    
      override fun getPort(): Int {
        return delegate!!.port
      }
    
      @Throws(SocketException::class)
      override fun getSoLinger(): Int {
        return delegate!!.soLinger
      }
    
      @Throws(SocketException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/FessBoot.java

            final String tempPath = System.getProperty(FESS_TEMP_PATH);
            if (tempPath != null) {
                System.setProperty(JAVA_IO_TMPDIR, tempPath);
            }
    
            final TomcatBoot tomcatBoot = new FessBoot(getPort(), getContextPath()) //
                    .useTldDetect(); // for JSP
            final String varPath = System.getProperty(FESS_VAR_PATH);
            if (varPath != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        private AuthScope getAuthScope() {
            if (StringUtil.isBlank(getHostname())) {
                return AuthScope.ANY;
            }
    
            int p;
            if (getPort() == null) {
                p = AuthScope.ANY_PORT;
            } else {
                p = getPort();
            }
    
            String r = getAuthRealm();
            if (StringUtil.isBlank(r)) {
                r = AuthScope.ANY_REALM;
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top