Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ConnectionSet (0.17 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. 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)
Back to top