Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 597 for cleanup (0.06 sec)

  1. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            assertTrue(mockService.getPort() > 0);
            assertEquals(0, mockService.getRegistrationCount());
        }
    
        /**
         * Test the complete workflow of witness registration, notification, and cleanup
         */
        @Test
        void testCompleteWitnessWorkflow() throws Exception {
            // Simulate complete witness workflow
    
            // 1. Service discovery and registration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     *     serverSocket.close();
     *   }
     * }
     * }
     *
     * <p id="cleaner">Here is how you might achieve the same thing using {@link java.lang.ref.Cleaner
     * Cleaner}, if you are using a Java version where that is available:
     *
     * {@snippet :
     * public class MyServer implements Closeable {
     *   private static final Cleaner cleaner = Cleaner.create();
     *   // You might also share this between several objects.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbSessionTest.java

            }
    
            @Test
            @DisplayName("Should handle exceptions during resource cleanup")
            void shouldHandleExceptionsDuringResourceCleanup() throws Exception {
                SmbSession mockSession = mock(SmbSession.class);
                doThrow(new RuntimeException("Cleanup failed")).when(mockSession).close();
    
                assertThrows(RuntimeException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. cmd/erasure-object_test.go

    			}
    			if test.expectedErr == nil && actualErr != nil {
    				t.Errorf("Expected to pass, but failed with %s", actualErr)
    			}
    		})
    	}
    	// Cleanup backend directories
    	removeRoots(fsDirs)
    }
    
    func TestDeleteObjectsVersionedTwoPools(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

    import jakarta.annotation.Resource;
    
    /**
     * A factory class for managing and creating crawler clients based on URL patterns.
     * This class implements AutoCloseable to properly handle resource cleanup.
     *
     * <p>The factory maintains a map of regular expression patterns to crawler clients,
     * allowing for URL-based client selection. Clients can be added with specific patterns
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-oidc.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/minio{1,2,3}
    }
    
    cleanup
    
    unset MINIO_KMS_KES_CERT_FILE
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/CloseableIterator.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    import java.util.Iterator;
    
    /**
     * An iterator that implements AutoCloseable to allow resource cleanup.
     * This interface combines Iterator functionality with automatic resource management.
     *
     * @param <T> the type of elements returned by this iterator
     * @author mbechler
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.repoRoot
    import gradlebuild.basics.util.getSingleFileProvider
    import gradlebuild.cleanup.services.CachesCleaner
    import gradlebuild.integrationtests.extension.IntegrationTestExtension
    import gradlebuild.integrationtests.setSystemPropertiesOfTestJVM
    import gradlebuild.integrationtests.tasks.DistributionTest
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 18:02:41 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java

     * documents and converting them into a key-value structure.
     *
     * <p>This interface extends {@link java.io.Closeable}, so implementations
     * should also handle resource cleanup when the {@link #close()} method is called.</p>
     */
    public interface DocumentReader extends Closeable {
        /**
         * Reads a document and returns its contents as a map.
         *
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    // encryption parameters. cleanupFns allow cleanup funcs to be
    // registered for calling after usage of the reader.
    type ObjReaderFn func(inputReader io.Reader, h http.Header, cleanupFns ...func()) (r *GetObjectReader, err error)
    
    // NewGetObjectReader creates a new GetObjectReader. The cleanUpFns
    // are called on Close() in FIFO order as passed in ObjReadFn(). NOTE: It is
    // assumed that clean up functions do not panic (otherwise, they may
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top