- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for OnDisconnect (0.3 sec)
-
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 11.7K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller_test.go
checkEntryOrFail(t, store, wgA, p2, n, c2.instanceID) c2.OnDisconnect(p2conn1) // cleanup for future tests }) t.Run("fast reconnect", func(t *testing.T) { t.Run("same instance", func(t *testing.T) { // disconnect, make sure entry is still there with disconnect meta c1.OnDisconnect(p1conn1) checkEntryOrFailAfter(t, store, wgA, p, n, "", features.WorkloadEntryCleanupGracePeriod/2)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 31.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonConnection.java
* </ul> * * Note: the handler may be run from another thread before this method returns. * * @param handler the handler. Use null to remove the current handler. */ void onDisconnect(@Nullable Runnable handler); /** * Registers a handler for when this connection receives cancel command. The handler is notified at most once. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultDaemonConnection.java
} }); } @Override public void onStdin(StdinHandler handler) { stdinQueue.useHandler(handler); } @Override public void onDisconnect(Runnable handler) { disconnectQueue.useHandler(handler); } @Override public void onCancel(Runnable handler) { cancelQueue.useHandler(handler); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 16K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller.go
_, err := c.store.Update(wle) if err != nil { return false, fmt.Errorf("disconnect: failed updating WorkloadEntry %s/%s: %v", proxy.Metadata.Namespace, entryName, err) } return true, nil } // OnDisconnect determines whether a connected proxy represents a non-Kubernetes // workload and, if that's the case, terminates special processing required for that type // of workloads, such as auto-registration, health status updates, etc.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 26.4K bytes - Viewed (0) -
pilot/pkg/xds/ads.go
if con.ID() == "" { return } s.removeCon(con.ID()) if s.StatusReporter != nil { s.StatusReporter.RegisterDisconnect(con.ID(), AllTrackingEventTypes) } s.WorkloadEntryController.OnDisconnect(con) } func connectionID(node string) string { id := atomic.AddInt64(&connectionNumber, 1) return node + "-" + strconv.FormatInt(id, 10) } // Only used for test
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 23.4K bytes - Viewed (0)