Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Lifecycle (0.06 sec)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInstance;
    import org.junit.jupiter.api.TestInstance.Lifecycle;
    
    /**
     * Test cases for SecureCredentialStorage
     */
    @TestInstance(Lifecycle.PER_METHOD)
    public class SecureCredentialStorageTest {
    
        private SecureCredentialStorage storage;
        private char[] masterPassword;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    				evt := evalActionFromLifecycle(ctx, *lc, rcfg, replcfg, goi)
    				switch evt.Action {
    				case lifecycle.DeleteAllVersionsAction, lifecycle.DelMarkerDeleteAllVersionsAction:
    					// opts.DeletePrefix is used only in the above lifecycle Expiration actions.
    				default:
    					// object has been modified since lifecycle action was previously evaluated
    					isErr = true
    				}
    				if isErr {
    					if goi.VersionID != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    	var vc *versioning.Versioning
    	var lc *lifecycle.Lifecycle
    	var lr objectlock.Retention
    	var rcfg *replication.Config
    	if bucket != minioMetaBucket {
    		vc, err = globalBucketVersioningSys.Get(bucket)
    		if err != nil {
    			return err
    		}
    
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bucket)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            Mockito.when(mockCredentialsInternal.clone()).thenReturn(mockCredentialsInternal);
            Mockito.when(mockTransport.acquire()).thenReturn(mockTransport);
        }
    
        /**
         * Test basic session lifecycle management
         */
        @Test
        @Timeout(5)
        public void testSessionLifecycle() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ResourceManager.java

        private boolean leakDetectionEnabled = true;
        private boolean autoCleanupEnabled = true;
    
        /**
         * Resource holder that tracks resource lifecycle
         */
        private static class ResourceHolder {
            final String resourceId;
            final String resourceType;
            final WeakReference<AutoCloseable> resourceRef;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

                return null;
            }
        }
    
        /**
         * Test state transitions (typical workflow)
         */
        public void test_stateTransitions() {
            // Simulate typical crawler lifecycle
            CrawlerStatus currentStatus = CrawlerStatus.INITIALIZING;
            assertEquals(CrawlerStatus.INITIALIZING, currentStatus);
    
            // Transition to RUNNING
            currentStatus = CrawlerStatus.RUNNING;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    	defer gr.Close()
    
    	objInfo := gr.ObjInfo
    
    	if !proxy.Proxy { // apply lifecycle rules only for local requests
    		// Automatically remove the object/version if an expiry lifecycle rule can be applied
    		if lc, err := globalLifecycleSys.Get(bucket); err == nil {
    			rcfg, err := globalBucketObjectLockSys.Get(bucket)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            // Remove listener
            factory.setOnDestroyListener(null);
            factory.destroyObject(pooledObject);
            assertEquals(2, callOrder.size()); // Should not add more
        }
    
        /**
         * Test lifecycle: create, wrap, destroy
         */
        public void test_fullLifecycle() throws Exception {
            TestComponent.resetCounter();
            factory.setComponentName("testComponent");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

        @Override
        public synchronized void close() {
            final SmbTreeHandleImpl th = this.treeHandle;
            if (th != null) {
                this.treeHandle = null;
    
                // Optimization: For non-strict lifecycle, delay tree handle closure
                // to allow connection reuse for subsequent operations
                if (this.transportContext.getConfig().isStrictResourceLifecycle()) {
                    th.close();
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

        protected int maxRequestRetries = 2;
        /** Whether to trace resource usage for debugging */
        protected boolean traceResourceUsage;
        /** Whether to enforce strict resource lifecycle management */
        protected boolean strictResourceLifecycle;
        /** Set of commands that should not be used in compound requests */
        protected Set<String> disallowCompound;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top