Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ConnectionSet (0.5 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/ConnectionSet.java

    import java.util.HashSet;
    import java.util.Set;
    
    class ConnectionSet {
        private final Set<ConnectionState> connections = new HashSet<ConnectionState>();
        private final IncomingQueue incomingQueue;
        private final OutgoingQueue outgoingQueue;
        private boolean stopping;
    
        ConnectionSet(IncomingQueue incomingQueue, OutgoingQueue outgoingQueue) {
            this.incomingQueue = incomingQueue;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/ConnectionState.java

    class ConnectionState {
        private boolean receiveFinished;
        private boolean dispatchFinished;
        private final RemoteConnection<InterHubMessage> connection;
        private final ConnectionSet owner;
        private final EndPointQueue dispatchQueue;
    
        ConnectionState(ConnectionSet owner, RemoteConnection<InterHubMessage> connection, EndPointQueue dispatchQueue) {
            this.owner = owner;
            this.connection = connection;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/ConnectionSetTest.groovy

    class ConnectionSetTest extends AbstractQueueTest {
        final IncomingQueue incomingQueue = new IncomingQueue(lock)
        final OutgoingQueue outgoingQueue = new OutgoingQueue(incomingQueue, lock)
        final ConnectionSet connections = new ConnectionSet(incomingQueue, outgoingQueue)
    
        def "discards queued outgoing messages when stop requested and no connections"() {
            def channel = new ChannelIdentifier("channel")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.remote.internal.hub.ConnectionSet> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ConnectionSet.java:0)
    Class <org.gradle.internal.remote.internal.hub.ConnectionState> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ConnectionState.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top