Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for refreshed (0.1 sec)

  1. cmd/lock-rest-server.go

    type lockRESTServer struct {
    	ll *localLocker
    }
    
    // RefreshHandler - refresh the current lock
    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    		return l.makeResp(resp, errLockNotFound)
    	}
    	return l.makeResp(resp, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    				log("dsync: Unable to call Refresh failed with %s for %#v at %s\n", err, args, c)
    			} else {
    				ch <- refreshResult{refreshed: refreshed}
    				log("dsync: Refresh returned false for %#v at %s\n", args, c)
    			}
    		}(index, c)
    	}
    
    	// Wait until we have either
    	//
    	// a) received all refresh responses
    	// b) received too many refreshed for quorum to be still possible
    	// c) timed out
    	//
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. internal/dsync/dsync-server_test.go

    	lockMap map[string]int64
    
    	// Refresh returns lock not found if set to true
    	lockNotFound bool
    
    	// Set to true if you want peers servers to do not respond
    	responseDelay int64
    }
    
    func (l *lockServer) setRefreshReply(refreshed bool) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	l.lockNotFound = !refreshed
    }
    
    func (l *lockServer) setResponseDelay(responseDelay time.Duration) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

      repeated APIResourceDiscovery resources = 2;
    
      // freshness marks whether a group version's discovery document is up to date.
      // "Current" indicates the discovery document was recently
      // refreshed. "Stale" indicates the discovery document could not
      // be retrieved and the returned discovery document may be
      // significantly out of date. Clients that require the latest
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. internal/dsync/dsync-client_test.go

    	return restClient.Call("/v1/unlock", args)
    }
    
    func (restClient *ReconnectRESTClient) Refresh(ctx context.Context, args LockArgs) (refreshed bool, err error) {
    	return restClient.Call("/v1/refresh", args)
    }
    
    func (restClient *ReconnectRESTClient) ForceUnlock(ctx context.Context, args LockArgs) (reply bool, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  6. internal/config/identity/openid/provider/keycloak.go

    type KeycloakProvider struct {
    	sync.Mutex
    
    	oeConfig DiscoveryDoc
    	client   http.Client
    	adminURL string
    	realm    string
    
    	// internal value refreshed
    	accessToken Token
    }
    
    // LoginWithUser authenticates username/password, not needed for Keycloak
    func (k *KeycloakProvider) LoginWithUser(username, password string) error {
    	return ErrNotImplemented
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. cmd/metacache.go

    						console.Debugln("returning", m.id, "due to scan state", m2.status, time.Now().Format(time.RFC3339))
    					}
    					return
    				}
    				m = m2
    				if serverDebugLog {
    					console.Debugln("refreshed", m.id, time.Now().Format(time.RFC3339))
    				}
    			} else if serverDebugLog {
    				console.Debugln("error refreshing", m.id, time.Now().Format(time.RFC3339))
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/KerberosTest.java

            }
    
    
            @Override
            public void refresh () throws CIFSException {
                try {
                    System.out.println("Refreshing");
                    setSubject(getInitiatorSubject(getTestUser(), getTestUserPassword(), getTestUserDomainRequired(), null));
                    System.out.println("Refreshed");
                }
                catch ( Exception e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  9. internal/config/identity/openid/jwt.go

    	}
    
    	mclaims := jwtgo.MapClaims(claims)
    	jwtToken, err := jp.ParseWithClaims(token, &mclaims, keyFuncCallback)
    	if err != nil {
    		// Re-populate the public key in-case the JWKS
    		// pubkeys are refreshed
    		if err = r.PopulatePublicKey(arn); err != nil {
    			return err
    		}
    		jwtToken, err = jwtgo.ParseWithClaims(token, &mclaims, keyFuncCallback)
    		if err != nil {
    			return err
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. cmd/bucket-metadata-sys.go

    // GetConfig returns a specific configuration from the bucket metadata.
    // The returned object may not be modified.
    // reloaded will be true if metadata refreshed from disk
    func (sys *BucketMetadataSys) GetConfig(ctx context.Context, bucket string) (meta BucketMetadata, reloaded bool, err error) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top