Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for releaseAll (0.08 sec)

  1. internal/dsync/drwmutex.go

    	count := 0
    	for _, uid := range *locks {
    		if isLocked(uid) {
    			count++
    		}
    	}
    
    	return count >= quorum
    }
    
    // releaseAll releases all locks that are marked as locked
    func releaseAll(ctx context.Context, ds *Dsync, tolerance int, owner string, locks *[]string, isReadLock bool, restClnts []NetLocker, names ...string) bool {
    	var wg sync.WaitGroup
    	for lockID := range restClnts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/Logger.java

         * {@link Logger}を初期化します。
         */
        protected static synchronized void initialize() {
            DisposableUtil.addFirst(() -> {
                initialized = false;
                loggers.clear();
                factory.releaseAll();
            });
            initialized = true;
        }
    
        /**
         * ログアダプタのファクトリを返します。
         * <p>
         * Commons Loggingが使える場合はCommons Loggingを利用するためのファクトリを返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top