Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 263 for Expire (0.08 sec)

  1. cmd/batch-expire.go

    	"github.com/minio/pkg/v3/workers"
    	"github.com/minio/pkg/v3/xtime"
    	"gopkg.in/yaml.v3"
    )
    
    // expire: # Expire objects that match a condition
    //   apiVersion: v1
    //   bucket: mybucket # Bucket where this batch job will expire matching objects from
    //   prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
    //   rules:
    //     - type: object  # regular objects with zero or more older versions
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. cmd/batch-expire_test.go

    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    	if !slices.Equal(job.Expire.Prefix.F(), []string{"myprefix"}) {
    		t.Fatal("Failed to parse batch-job-expire yaml")
    	}
    
    	multiPrefixExpireYaml := `
    expire: # Expire objects that match a condition
      apiVersion: v1
      bucket: mybucket # Bucket where this batch job will expire matching objects from
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            assertNull(path);
    
            Integer expire = provider.provideDefaultExpire();
            assertNull(expire);
        }
    
        // Test with different expire values
        public void test_differentExpireValues() {
            int[] testExpires = { 0, 1, 60, 3600, 86400, Integer.MAX_VALUE };
    
            for (int expire : testExpires) {
                ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. cmd/batch-handlers_gen.go

    					return
    				}
    			}
    		case "Expire":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Expire")
    					return
    				}
    				z.Expire = nil
    			} else {
    				if z.Expire == nil {
    					z.Expire = new(BatchJobExpire)
    				}
    				err = z.Expire.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Expire")
    					return
    				}
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. cmd/local-locker_test.go

    					}
    
    					// Expire 50%
    					expired := time.Now().Add(-time.Hour * 2)
    					for _, v := range l.lockMap {
    						for i := range v {
    							if rng.Intn(2) == 0 {
    								v[i].TimeLastRefresh = expired.UnixNano()
    							}
    						}
    					}
    					start = time.Now()
    					l.expireOldLocks(time.Hour)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // get saves 1, 3; 0, 2, 4 expire
        getAll(cache, asList(1, 3));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(5, 6, 7, 8, 9, 1, 3);
    
        // get saves 6, 8; 5, 7, 9 expire
        getAll(cache, asList(6, 8));
        CacheTesting.drainRecencyQueues(cache);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	KeyRotate *BatchJobKeyRotateV1 `yaml:"keyrotate" json:"keyrotate"`
    	Expire    *BatchJobExpire      `yaml:"expire" json:"expire"`
    	ctx       context.Context      `msg:"-"`
    }
    
    // RedactSensitive will redact any sensitive information in b.
    func (j *BatchJobRequest) RedactSensitive() {
    	j.Replicate.RedactSensitive()
    	j.Expire.RedactSensitive()
    	j.KeyRotate.RedactSensitive()
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  8. docs/bucket/replication/setup_ilm_expiry_replication.sh

    if [ "$flag" != "false" ]; then
    	echo "BUG: ILM expiry replication not disabled for 'siteb'"
    	exit 1
    fi
    
    ## Perform individual updates of rules to sites
    ./mc ilm edit --id "${id}" --expire-days "999" sitea/bucket
    sleep 5s
    
    ./mc ilm edit --id "${id}" --expire-days "888" siteb/bucket # when ilm expiry re-enabled, this should win
    
    ## Check re-enabling of ILM expiry rules replication
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. docs/bucket/lifecycle/README.md

                    "NoncurrentDays": 30
                }
            }
        ]
    }
    ```
    
    This JSON rule is equivalent to the following MinIO Client command:
    ```
    mc ilm rule add --noncurrent-expire-days 30 --noncurrent-expire-newer 5 --prefix "user-uploads/" myminio/mydata
    ```
    
    #### 3.2.a Automatic removal of noncurrent versions keeping only most recent ones immediately (MinIO only extension)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                long expire = System.currentTimeMillis() + 60000;
                int consumed = 20;
    
                DfsReferralDataImpl result = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, expire, consumed);
    
                assertNotNull(result);
                assertEquals(600, result.getTtl());
                assertEquals(0, result.getFlags());
                assertEquals(expire, result.getExpiration());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top