Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for endTime (0.2 sec)

  1. 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)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 03 20:41:51 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  2. 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");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. 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)
    
    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)
  4. 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;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. 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="
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. 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
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  7. 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{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_StartTime_Desc();
            cb.query().addOrderBy_EndTime_Desc();
    
            // search
    
        }
    
        public void deleteBefore(final int days) {
            final long oneday = 24 * 60 * 60 * 1000L;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. 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")));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsJobLogCB.java

                columnList.add(name);
            }
    
            public void columnId() {
                doColumn("_id");
            }
    
            public void columnEndTime() {
                doColumn("endTime");
            }
    
            public void columnJobName() {
                doColumn("jobName");
            }
    
            public void columnJobStatus() {
                doColumn("jobStatus");
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7K bytes
    - Viewed (0)
Back to top