Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for expireCh (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(newState, entry.getLeaseState());
        }
    
        @Test
        @DisplayName("Should clean up expired leases with custom timeout")
        void testCleanupExpiredLeasesWithCustomTimeout() throws InterruptedException {
            String path1 = "/share/expired1.txt";
            String path2 = "/share/expired2.txt";
    
            Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. 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)
  3. cmd/signature-v2_test.go

    		},
    		// (3) Should give an expired request if it has expired.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    			expected: ErrExpiredPresignRequest,
    		},
    		// (4) Should error when the signature does not match.
    		{
    			queryParams: map[string]string{
    				"Expires":        fmt.Sprintf("%d", now.Unix()+60),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. cmd/signature-v2.go

    		canonicalHeaders += "\n"
    	}
    
    	date := expires // Date is set to expires date for presign operations.
    	if date == "" {
    		// If expires date is empty then request header Date is used.
    		date = headers.Get(xhttp.Date)
    	}
    
    	// From the Amazon docs:
    	//
    	// StringToSign = HTTP-Verb + "\n" +
    	// 	 Content-Md5 + "\n" +
    	//	 Content-Type + "\n" +
    	//	 Date/Expires + "\n" +
    	//	 CanonicalizedProtocolHeaders +
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle.go

    	}
    }
    
    // expireTransitionedObject handles expiry of transitioned/restored objects
    // (versions) in one of the following situations:
    //
    // 1. when a restored (via PostRestoreObject API) object expires.
    // 2. when a transitioned object expires (based on an ILM rule).
    func expireTransitionedObject(ctx context.Context, objectAPI ObjectLayer, oi *ObjectInfo, lcEvent lifecycle.Event, src lcEventSrc) error {
    	traceFn := globalLifecycleSys.trace(*oi)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  6. 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)
  7. cmd/postpolicyform_test.go

    		name    string
    		fv      formValues
    		expired bool
    		wantErr string
    	}
    
    	// Test case just contains fields we override from defaultFormVals.
    	testCases := []testCase{
    		{
    			name:    "happy path no errors",
    			fv:      defaultFormVals.Clone(),
    			wantErr: "",
    		},
    		{
    			name:    "expired policy document",
    			fv:      defaultFormVals.Clone(),
    			expired: true,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

            this.leaseKey = leaseKey;
            this.reconnecting = false;
        }
    
        /**
         * Check if this handle has expired
         * @return true if expired
         */
        public boolean isExpired() {
            if (type == HandleType.PERSISTENT) {
                return false; // Persistent handles don't expire
            }
            long elapsed = System.currentTimeMillis() - lastAccessTime;
            return elapsed > timeout;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessClient.java

             */
            void onRegistrationFailed(WitnessRegistration registration, Exception error);
    
            /**
             * Called when a witness registration expires.
             *
             * @param registration the expired registration
             */
            void onRegistrationExpired(WitnessRegistration registration);
        }
    
        /**
         * Creates a new witness client.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. 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)
Back to top