Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Watch (0.13 sec)

  1. cmd/iam.go

    }
    
    func (sys *IAMSys) periodicRoutines(ctx context.Context, baseInterval time.Duration) {
    	// Watch for IAM config changes for iamStorageWatcher.
    	watcher, isWatcher := sys.store.IAMStorageAPI.(iamStorageWatcher)
    	if isWatcher {
    		go func() {
    			ch := watcher.watch(ctx, iamConfigPrefix)
    			for event := range ch {
    				if err := sys.loadWatchedEvent(ctx, event); err != nil {
    					// we simply log errors
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/iam-store.go

    }
    
    // iamStorageWatcher is implemented by `IAMStorageAPI` implementers that
    // additionally support watching storage for changes.
    type iamStorageWatcher interface {
    	watch(ctx context.Context, keyPath string) <-chan iamWatchEvent
    }
    
    // Set default canned policies only if not already overridden by users.
    func setDefaultCannedPolicies(policies map[string]PolicyDoc) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/batch-handlers.go

    					continue
    				}
    
    				batch = append(batch, obj)
    
    				if len(batch) < *r.Source.Snowball.Batch {
    					continue
    				}
    				writeFn(batch)
    				batch = batch[:0]
    			}
    			writeFn(batch)
    			xioutil.SafeClose(slowCh)
    		}()
    	} else {
    		slowCh = walkCh
    	}
    
    	workerSize, err := strconv.Atoi(env.Get("_MINIO_BATCH_REPLICATION_WORKERS", strconv.Itoa(runtime.GOMAXPROCS(0)/2)))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    && match(exclusion.getArtifactId(), candidate.getArtifactId());
        }
    
        private boolean match(String match, String text) {
            return match.equals("*") || match.equals(text);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        private Model doLoadDependencyManagement(
                Model model,
                ModelBuilderRequest request,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          appendResultObject(builder, value);
          builder.append("]");
        } catch (ExecutionException e) {
          builder.append("FAILURE, cause=[").append(e.getCause()).append("]");
        } catch (CancellationException e) {
          builder.append("CANCELLED"); // shouldn't be reachable
        } catch (Exception e) { // sneaky checked exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                try {
                                    return listFuture.get();
                                } catch (InterruptedException e) {
                                    uncheckedThrow(e);
                                    return null;
                                } catch (ExecutionException e) {
                                    uncheckedThrow(e.getCause());
                                    return null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                            null,
                            "artifactId of a plugin must be defined. ",
                            plugin);
                }
    
                // This will catch cases like <version></version> or <version/>
                if (plugin.getVersion() != null && plugin.getVersion().trim().isEmpty()) {
                    addViolation(
                            problems,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. tests/query_test.go

    		results = append(results, sub...)
    		lastBatch = batch
    		return nil
    	}); result.Error != nil || result.RowsAffected != 5 {
    		t.Errorf("Failed to batch find, got error %v, rows affected: %v", result.Error, result.RowsAffected)
    	}
    	if lastBatch != 3 {
    		t.Fatalf("incorrect last batch, expected: %v, got: %v", 3, lastBatch)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			objectTags:     "tag1=value1",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: NoneAction,
    		},
    		// Should not remove (Tags match, but prefix doesn't match)
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top