- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for destroy (0.03 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
private final int id; private boolean destroyed = false; public TestComponent() { this.id = instanceCounter.incrementAndGet(); } public int getId() { return id; } public boolean isDestroyed() { return destroyed; } public void destroy() { this.destroyed = true; }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
} /** * Internal method to destroy a specific JobProcess. * Handles cleanup of streams, threads, and process termination. * * @param sessionId unique identifier for the process session * @param jobProcess the JobProcess to destroy * @return exit code of the destroyed process, or -1 if the process was null or could not be destroyed */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 06:54:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
} /** * Check if storage has been destroyed */ private void checkNotDestroyed() { if (destroyed) { throw new IllegalStateException("SecureCredentialStorage has been destroyed"); } } @Override public void destroy() throws DestroyFailedException { if (!destroyed) { boolean failedToDestroy = false;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
byte[] encrypted = storage.encryptCredentials(plaintext); assertFalse(storage.isDestroyed(), "Storage should not be destroyed initially"); // Destroy the storage - may throw DestroyFailedException if SecretKey doesn't support destroy try { storage.destroy(); } catch (DestroyFailedException e) { // This is acceptable - not all JVM implementations support destroying SecretKey
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 04 08:02:36 UTC 2025 - 16K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
public PooledObject<T> wrap(final T obj) { return new DefaultPooledObject<>(obj); } /** * Destroys a pooled object and notifies the destroy listener if set. * If the object implements {@link AutoCloseable}, it will be closed automatically. * * @param p The pooled object to destroy * @throws Exception if destruction fails */ @Override
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
if (rawKey != null) { Arrays.fill(rawKey, (byte) 0); } // Destroy the SecretKey if possible if (secretKey instanceof Destroyable) { try { ((Destroyable) secretKey).destroy(); } catch (DestroyFailedException e) { log.warn("Failed to destroy SecretKey: {}", e.getMessage()); } } // Remove from KeyStore
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
*/ @Test public void testConnectedFlag() { assertFalse("Initially not connected", fesenClient.connected()); // After destroy, should be disconnected fesenClient.destroy(); assertFalse("Should be disconnected after destroy", fesenClient.connected()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
assertDoesNotThrow(() -> filter.init(filterConfig)); } @Test void testDestroy() { // Test that destroy method executes without errors assertDoesNotThrow(() -> filter.destroy()); } @Test void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception { // Initialize filter first initializeFilter();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0)