Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for endTime (0.07 sec)

  1. internal/bucket/bandwidth/monitor_test.go

    	"time"
    )
    
    const (
    	oneMiB uint64 = 1024 * 1024
    )
    
    func TestMonitor_GetReport(t *testing.T) {
    	type fields struct {
    		activeBuckets map[BucketOptions]*bucketMeasurement
    		endTime       time.Time
    		update2       uint64
    		endTime2      time.Time
    	}
    	start := time.Now()
    	m0 := newBucketMeasurement(start)
    	m0.incrementBytes(0)
    	m1MiBPS := newBucketMeasurement(start)
    	m1MiBPS.incrementBytes(oneMiB)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/measurement.go

    func (m *bucketMeasurement) updateExponentialMovingAverage(endTime time.Time) {
    	// Calculate aggregate avg bandwidth and exp window avg
    	m.lock.Lock()
    	defer func() {
    		m.startTime = endTime
    		m.lock.Unlock()
    	}()
    
    	if m.startTime.IsZero() {
    		return
    	}
    
    	if endTime.Before(m.startTime) {
    		return
    	}
    
    	duration := endTime.Sub(m.startTime)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. istioctl/pkg/metrics/metrics_test.go

    func (client mockPromAPI) Config(ctx context.Context) (promv1.ConfigResult, error) {
    	return promv1.ConfigResult{}, nil
    }
    
    func (client mockPromAPI) DeleteSeries(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) error {
    	return nil
    }
    
    func (client mockPromAPI) Flags(ctx context.Context) (promv1.FlagsResult, error) {
    	return nil, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 01:35:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsJobLog.java

        public Long getEndTime() {
            checkSpecifiedProperty("endTime");
            return endTime;
        }
    
        public void setEndTime(Long value) {
            registerModifiedProperty("endTime");
            this.endTime = value;
        }
    
        public String getJobName() {
            checkSpecifiedProperty("jobName");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/resources/fess_indices/fess_config.job_log/job_log.json

          },
          "scriptResult": {
            "type": "keyword"
          },
          "lastUpdated": {
            "type": "long"
          },
          "startTime": {
            "type": "long"
          },
          "endTime": {
            "type": "long"
          }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 524 bytes
    - Viewed (0)
  6. src/main/config/es/fess_config_job_log.json

    {
      "fess_config.job_log" : {
        "aliases" : { },
        "mappings" : {
          "job_log" : {
            "properties" : {
              "endTime" : {
                "type" : "long"
              },
              "jobName" : {
                "type" : "keyword"
              },
              "jobStatus" : {
                "type" : "keyword"
              },
              "lastUpdated" : {
                "type" : "long"
              },
              "scriptData" : {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/joblog/EditForm.java

        @Required
        public String startTime;
    
        public String endTime;
    
        public void initialize() {
            id = null;
            jobName = null;
            jobStatus = null;
            target = null;
            scriptType = null;
            scriptData = null;
            scriptResult = null;
            startTime = null;
            endTime = null;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/exentity/JobLog.java

        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        @Override
        public String toString() {
            return "JobLog [scheduledJob=" + scheduledJob + ", endTime=" + endTime + ", jobName=" + jobName + ", jobStatus=" + jobStatus
                    + ", scriptData=" + scriptData + ", scriptResult=" + scriptResult + ", scriptType=" + scriptType + ", startTime="
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. cmd/rebalance-admin.go

    		elapsed := time.Since(ps.Info.StartTime)
    		eta := time.Duration(totalBytesToRebal * float64(elapsed) / float64(ps.Bytes))
    		if !ps.Info.EndTime.IsZero() {
    			stopTime = ps.Info.EndTime
    		}
    
    		if !stopTime.IsZero() { // rebalance is stopped or completed
    			elapsed = stopTime.Sub(ps.Info.StartTime)
    			eta = 0
    		}
    
    		r.Pools[i].Progress = rebalPoolProgress{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 22 00:56:43 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setEndTime(DfTypeUtil.toLong(source.get("endTime")));
                result.setJobName(DfTypeUtil.toString(source.get("jobName")));
                result.setJobStatus(DfTypeUtil.toString(source.get("jobStatus")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top