Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for SetTarget (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

            return source;
        }
    
        public void setSource(MetadataGraphVertex source) {
            this.source = source;
        }
    
        public MetadataGraphVertex getTarget() {
            return target;
        }
    
        public void setTarget(MetadataGraphVertex target) {
            this.target = target;
        }
    
        @Override
        public String toString() {
            return "[ " + "FROM:("
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. cmd/bucket-targets.go

    	if !ok {
    		return
    	}
    	for _, t := range tgts {
    		delete(sys.arnRemotesMap, t.Arn)
    	}
    	delete(sys.targetsMap, bucket)
    }
    
    // SetTarget - sets a new minio-go client target for this bucket.
    func (sys *BucketTargetSys) SetTarget(ctx context.Context, bucket string, tgt *madmin.BucketTarget, update bool) error {
    	if !tgt.Type.IsValid() && !update {
    		return BucketRemoteArnTypeInvalid{Bucket: bucket}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            checkVertex(vFrom);
            checkVertex(vTo);
    
            checkVertices();
    
            checkEdge(e);
            checkEdges();
    
            e.setSource(vFrom);
            e.setTarget(vTo);
    
            vFrom.setCompareVersion(versionedVertices);
            vFrom.setCompareScope(scopedVertices);
    
            List<MetadataGraphEdge> exList = excidentEdges.computeIfAbsent(vFrom, k -> new ArrayList<>());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    entity.setGenerator(task.getValue1());
                    entity.setThumbnailId(task.getValue2());
                    entity.setPath(task.getValue3());
                    entity.setTarget(target);
                    entity.setCreatedBy(Constants.SYSTEM_USER);
                    entity.setCreatedTime(systemHelper.getCurrentTimeAsLong());
                    list.add(entity);
                }
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    	target.ResetBeforeDate = UTCNow().AddDate(0, 0, -1*int(days/24))
    	target.ResetID = resetID
    	rinfo.Targets = append(rinfo.Targets, ResyncTarget{Arn: tgtArns[0], ResetID: target.ResetID})
    	if err = globalBucketTargetSys.SetTarget(ctx, bucket, &target, true); err != nil {
    		switch err.(type) {
    		case RemoteTargetConnectionErr:
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationRemoteConnectionError, err), r.URL)
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    				targetToUpdate.ReplicationSync = (peer.SyncState == madmin.SyncEnabled)
    			}
    			if updateBW {
    				targetToUpdate.BandwidthLimit = int64(peer.DefaultBandwidth.Limit)
    			}
    			err := globalBucketTargetSys.SetTarget(ctx, bucket, &targetToUpdate, true)
    			if err != nil {
    				return c.annotatePeerErr(peer.Name, "Bucket target update error", err)
    			}
    			targets, err := globalBucketTargetSys.ListBucketTargets(ctx, bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    	if target.BandwidthLimit > 0 && target.BandwidthLimit < 100*1000*1000 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationBandwidthLimitError, err), r.URL)
    		return
    	}
    	if err = globalBucketTargetSys.SetTarget(ctx, bucket, &target, update); err != nil {
    		switch err.(type) {
    		case RemoteTargetConnectionErr:
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationRemoteConnectionError, err), r.URL)
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                //                                    if( e2.getPomOrder() == e1.getPomOrder() )
                //                                        return
                // e1.getTarget().toString().compareTo(e2.getTarget().toString() );
                //
                //                                    return e2.getPomOrder() - e1.getPomOrder();
                //                                }
                //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                                        : edge.getSource().getMd().toString(),
                                edge.isResolved(),
                                edge.getTarget() == null
                                        ? null
                                        : edge.getTarget().getMd().getError());
                        MetadataGraphVertex newV = res.addVertex(newMd);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/CrawlJob.java

                cb.query().setAvailable_Equal(Constants.T);
                cb.query().setCrawler_Equal(Constants.T);
            }, scheduledJob -> {
                if (fessConfig.isSchedulerTarget(scheduledJob.getTarget())) {
                    if (scheduledJob.isRunning()) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("{} is running.", scheduledJob.getId());
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top