Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ConnectionSet (0.1 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    */
    
    type connMgr struct {
    	connectionSet map[*ZtunnelConnection]struct{}
    	latestConn    *ZtunnelConnection
    	mu            sync.Mutex
    }
    
    func (c *connMgr) addConn(conn *ZtunnelConnection) {
    	log.Debug("ztunnel connected")
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	c.connectionSet[conn] = struct{}{}
    	c.latestConn = conn
    	ztunnelConnected.RecordInt(int64(len(c.connectionSet)))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java

        private final IncomingQueue incomingQueue = new IncomingQueue(lock);
        private final OutgoingQueue outgoingQueue = new OutgoingQueue(incomingQueue, lock);
        private final ConnectionSet connections = new ConnectionSet(incomingQueue, outgoingQueue);
    
        /**
         * @param errorHandler Notified when some async activity fails. Must be thread-safe.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top