Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 546 for qhold (0.21 sec)

  1. cmd/bucket-object-lock.go

    func enforceRetentionForDeletion(ctx context.Context, objInfo ObjectInfo) (locked bool) {
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	lhold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    	if lhold.Status.Valid() && lhold.Status == objectlock.LegalHoldOn {
    		return true
    	}
    
    	ret := objectlock.GetObjectRetentionMeta(objInfo.UserDefined)
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock.go

    func ParseObjectLockLegalHoldHeaders(h http.Header) (lhold ObjectLegalHold, err error) {
    	holdStatus, ok := h[AmzObjectLockLegalHold]
    	if ok {
    		lh := parseLegalHoldStatus(holdStatus[0])
    		if !lh.Valid() {
    			return lhold, ErrUnknownWORMModeDirective
    		}
    		lhold = ObjectLegalHold{XMLNS: "http://s3.amazonaws.com/doc/2006-03-01/", Status: lh}
    	}
    	return lhold, nil
    }
    
    // ObjectLegalHold specified in
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. docs/bucket/retention/README.md

    ### Set legal hold on an object
    
    PutObject API allows setting legal hold using `x-amz-object-lock-legal-hold` header.
    
    ```sh
    aws s3api put-object --bucket testbucket --key legalhold --object-lock-legal-hold-status ON --body /etc/issue
    ```
    
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock_test.go

    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "on",
    			},
    			expected: ObjectLegalHold{Status: LegalHoldOn},
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "off",
    			},
    			expected: ObjectLegalHold{Status: LegalHoldOff},
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "X",
    			},
    			expected: ObjectLegalHold{Status: ""},
    		},
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. docs/contribute/concurrency.md

    Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead.
    
    #### Framed protocols
    
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
      public void testRemove() {
        final Map<String, Collection<Integer>> map;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ArrayListMultimap.java

          ArrayListMultimap<K, V> create() {
        return new ArrayListMultimap<>();
      }
    
      /**
       * Constructs an empty {@code ArrayListMultimap} with enough capacity to hold the specified
       * numbers of keys and values without resizing.
       *
       * <p>This method will soon be deprecated in favor of {@code
       * MultimapBuilder.hashKeys(expectedKeys).arrayListValues(expectedValuesPerKey).build()}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * execution consists of blocking until the input future is {@linkplain Future#isDone() done}, so
       * each call to this method may claim and hold a thread for an arbitrary length of time. Use of
       * bounded executors or other executors that may fail to execute a task promptly may result in
       * deadlocks.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        throw AssertionError("Thread ${Thread.currentThread().name} MUST hold lock on $this")
      }
    }
    
    @Suppress("NOTHING_TO_INLINE")
    internal inline fun Any.assertThreadHoldsLock() {
      if (assertionsEnabled && !Thread.holdsLock(this)) {
        throw AssertionError("Thread ${Thread.currentThread().name} MUST hold lock on $this")
      }
    }
    
    @Suppress("NOTHING_TO_INLINE")
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. docs/tls/kubernetes/README.md

    ## 2. Create Kubernetes secret
    
    [Kubernetes secrets](https://kubernetes.io/docs/concepts/configuration/secret) are intended to hold sensitive information.
    We'll use secrets to hold the TLS certificate and key. To create a secret, update the paths to `private.key` and `public.crt`
    below.
    
    Then type
    
    ```sh
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3K bytes
    - Viewed (0)
Back to top