- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 82 for AutoCloseable (0.26 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java
return new BuiltinShellCommandRegistry(context); } private static class BuiltinShellCommandRegistry extends JlineCommandRegistry implements AutoCloseable { private final LookupContext shellContext; private final MavenInvoker shellMavenInvoker; private final MavenParser mavenParser; private final EncryptInvoker shellEncryptInvoker;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
* - Global rate limiting * - Exponential backoff for repeated failures * - Account lockout after threshold * - Automatic cleanup of old entries */ public class AuthenticationRateLimiter implements AutoCloseable { private static final Logger log = LoggerFactory.getLogger(AuthenticationRateLimiter.class); // Rate limiting configuration private final int maxAttemptsPerAccount;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
private LeaseManager baseLeaseManager; @Mock private SmbFile mockFile1; @Mock private SmbFile mockFile2; private DirectoryLeaseManager directoryLeaseManager; private AutoCloseable mocks; @BeforeEach public void setUp() { mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
@Mock private SmbFile mockFile1; @Mock private SmbFile mockFile2; private LeaseManager baseLeaseManager; private DirectoryLeaseManager directoryLeaseManager; private AutoCloseable mocks; @BeforeEach public void setUp() throws Exception { mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
``` ### 4.3 Witness Client ```java package jcifs.internal.witness; import jcifs.dcerpc.*; import jcifs.dcerpc.rpc.*; import java.util.concurrent.*; public class WitnessClient implements AutoCloseable { private final InetAddress witnessServer; private final int port; private final CIFSContext context; private final ConcurrentHashMap<String, WitnessRegistration> registrations;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
/** * SMB Witness Protocol client implementation as defined in MS-SWN specification. * Manages witness registrations, notifications, and heartbeats for cluster failover support. */ public class WitnessClient implements AutoCloseable { private static final Logger log = LoggerFactory.getLogger(WitnessClient.class); // Polling and backoff constants (in ms) private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 secondsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* may also refer to servers and workgroups. * * @see jcifs.smb.SmbFile for the main implementation of this interface * @author mbechler */ public interface SmbResource extends AutoCloseable { /** * Gets the file locator for this file * * The file locator provides details about * * @return the fileLocator */ SmbResourceLocator getLocator();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
for (MavenProject forkedProject : forkedProjects) { forkedProject.setExecutionProject(null); } } } protected interface NoExceptionCloseable extends AutoCloseable { @Override void close(); } protected NoExceptionCloseable getProjectLock(MavenSession session, MojoDescriptor mojoDescriptor) { if (useProjectLock(session)) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 12 14:55:55 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
/** * Abstract base class for DCE/RPC communication handles. * This class provides the foundation for DCE/RPC client communication. */ public abstract class DcerpcHandle implements DcerpcConstants, AutoCloseable { /* * Bindings are in the form: * proto:\\server[key1=val1,key2=val2] * or * proto:server[key1=val1,key2=val2] * or * proto:[key1=val1,key2=val2] *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
} finally { concurrentLimiter.close(); } } @Test public void testAutoCloseableInterface() throws Exception { // Test that rate limiter implements AutoCloseable correctly try (AuthenticationRateLimiter autoLimiter = new AuthenticationRateLimiter()) { assertTrue(autoLimiter.checkAttempt("user", "192.168.1.13")); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0)