Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsConnected (0.06 sec)

  1. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (isConnected() && this.usageCount.get() != 0) {
                    log.warn("Session was not properly released, performing emergency cleanup: " + this);
                    // Perform emergency cleanup to prevent memory leaks
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  2. docs/bucket/notifications/README.md

      go func() {
       for {
        // Reconnect if the connection is lost.
        if stanConnection == nil || stanConnection.NatsConn() == nil ||  !stanConnection.NatsConn().IsConnected() {
         stanConnection, _ = stan.Connect("test-cluster", "test-client", stan.NatsURL("nats://yourusername:yoursecret@0.0.0.0:4222"), stan.SetConnectionLostHandler(func(c stan.Conn, _ error) {
          if c.NatsConn() != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
Back to top