Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 378 for Callback (0.6 sec)

  1. docs/smb3-features/01-smb3-lease-design.md

        } catch (TimeoutException e) {
            // Force lease release if break handling times out
            releaseLease(key);
            log.warn("Lease break timeout for key: {}", key);
        }
    }
    ```
    
    ### 10.2 Fallback to Oplocks
    ```java
    if (!context.getConfig().isUseLeases() || !session.supports(SMB3_0)) {
        // Fall back to traditional oplock mechanism
        useOplockInstead();
    }
    ```
    
    ## 11. Monitoring and Metrics
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. statement.go

    				} else {
    					clause.Expr{SQL: sql, Vars: vars}.Build(subdb.Statement)
    				}
    			} else {
    				subdb.Statement.Vars = append(stmt.Vars, subdb.Statement.Vars...)
    				subdb.callbacks.Query().Execute(subdb)
    			}
    
    			writer.WriteString(subdb.Statement.SQL.String())
    			stmt.Vars = subdb.Statement.Vars
    		default:
    			switch rv := reflect.ValueOf(v); rv.Kind() {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. callbacks/query.go

    package callbacks
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    func Query(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    
    		if !db.DryRun && db.Error == nil {
    			rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    			if err != nil {
    				db.AddError(err)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            if (startBracket != -1 && endBracket != -1 && endBracket > startBracket) {
                return transportStr.substring(startBracket + 1, endBracket);
            }
            // Fallback: just use address
            return transport.getRemoteAddress().getHostAddress();
        }
    
        /**
         * Get connection key from address and port
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

            try (SmbSessionImpl treesess = t.getSession()) {
                if (treesess.getCredentials().isAnonymous() || treesess.getCredentials().isGuest()) {
                    // refresh anonymous session or fallback to anonymous from guest login
                    try (SmbSessionInternal s =
                            trans.getSmbSession(this.ctx.withAnonymousCredentials(), treesess.getTargetHost(), treesess.getTargetDomain())
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractService.java

    /**
     * Base class for implementing services that can handle {@link #doStart} and {@link #doStop}
     * requests, responding to them with {@link #notifyStarted()} and {@link #notifyStopped()}
     * callbacks. Its subclasses must manage threads manually; consider {@link
     * AbstractExecutionThreadService} if you need only a single execution thread.
     *
     * @author Jesse Wilson
     * @author Luke Sandberg
     * @since 1.0
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

                if (entry.getInconsistencyCount() > 5) {
                    entry.invalidate();
                }
            }
        }
    }
    ```
    
    ### 9.2 Fallback Mechanisms
    ```java
    public class DirectoryOperationFallback {
        public SmbFile[] safeListFiles(SmbFile directory) throws IOException {
            try {
                // Try cached listing first
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. callbacks/create.go

    package callbacks
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // BeforeCreate before create hooks
    func BeforeCreate(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && (db.Statement.Schema.BeforeSave || db.Statement.Schema.BeforeCreate) {
    		callMethod(db, func(value interface{}, tx *gorm.DB) (called bool) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. README.md

    configured to fall back for broad connectivity.
    
    Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It
    supports both synchronous blocking calls and async calls with callbacks.
    
    A well behaved user agent
    -------------------------
    
    OkHttp follows modern HTTP specifications such as
    
    * HTTP Semantics - [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    Por ejemplo, si algún código en algún punto intermedio, en otra dependencia o en una *path operation*, realiza un "rollback" en una transacción de base de datos o crea cualquier otro error, recibirás la excepción en tu dependencia.
    
    Por lo tanto, puedes buscar esa excepción específica dentro de la dependencia con `except SomeException`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top