- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for AutoCloseable (0.07 sec)
-
src/main/java/jcifs/util/ResourceManager.java
final String resourceType; final WeakReference<AutoCloseable> resourceRef; final PhantomReference<AutoCloseable> phantomRef; final long creationTime; final StackTraceElement[] allocationStackTrace; volatile boolean closed; ResourceHolder(String resourceId, AutoCloseable resource, ReferenceQueue<AutoCloseable> queue) { this.resourceId = resourceId;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
assertNotNull(outputStream); // Verify the AutoCloseable resources were closed verify(autoCloseableMockTreeHandle).close(); verify(autoCloseableMockFileHandle).close(); } @Test void testConstructorWithAppendFlag() throws IOException, CIFSException { // Given // Mock the AutoCloseable tree handle behavior
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbTree.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; /** * Opaque reference to a SMB tree * * @author mbechler * */ public interface SmbTree extends AutoCloseable { /** * Unwraps the tree instance to the specified type * @param <T> the target tree type * @param type the class of the tree type to unwrap to * @return tree instance with the given type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClient.java
/** * Interface representing a client for a web crawler. * This client is responsible for executing requests and handling responses. * It extends {@link AutoCloseable} to allow for resource management. */ public interface CrawlerClient extends AutoCloseable { /** * Sets the initialization parameters for the crawler client. * * @param params a map containing the initialization parameters */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
class SmbSessionTest { @Nested @DisplayName("AutoCloseable Contract Tests") class AutoCloseableContractTest { @Test @DisplayName("Should implement AutoCloseable interface") void shouldImplementAutoCloseable() { assertTrue(AutoCloseable.class.isAssignableFrom(SmbSession.class), "SmbSession should implement AutoCloseable interface"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbSession.java
*/ package jcifs; /** * Opaque reference to a SMB session * * @author mbechler */ public interface SmbSession extends AutoCloseable { /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close(); /** * Returns the configuration object used by this SMB session. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/CloseableIterator.java
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 */ public interface CloseableIterator<T> extends Iterator<T>, AutoCloseable { /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java
* that can handle various types of {@link InvokerRequest InvokerRequests}. It also implements * {@link AutoCloseable} to ensure proper resource management.</p> * * @since 4.0.0 */ @Experimental public interface Invoker extends AutoCloseable { /** * Invokes the Maven application using the provided {@link InvokerRequest}.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeHandle.java
*/ package jcifs; import java.io.InputStream; import java.io.OutputStream; /** * Handle to an open named pipe * * @author mbechler * */ public interface SmbPipeHandle extends AutoCloseable { /** * Gets the pipe resource associated with this handle. * * @return the pipe */ SmbPipeResource getPipe(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbTreeHandle.java
* * @author mbechler * */ public interface SmbTreeHandle extends AutoCloseable { /** * Gets the active configuration for this tree handle * @return the active configuration */ Configuration getConfig(); /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close() throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)