You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring/src/main/java/io/kubernetes/client/spring/extended/controller/annotation/DeleteWatchEventFilter.java
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,13 @@
19
19
importjava.lang.annotation.Target;
20
20
21
21
/**
22
-
* Indicates that the method is a filter for {@link io.kubernetes.client.informer.EventType#DELETED}
23
-
* from watches.
22
+
* Indicates that the method is a filter for {@link
23
+
* io.kubernetes.client.informer.EventType#MODIFIED} from watches.
24
24
*
25
-
* <p>A delete-event filter must have the signature as {@link
26
-
* java.util.function.BiPredicate<ApiType,ApiType>} where the 1st parameter is the old state of the
27
-
* resource and the 2nd is the new state.
25
+
* <p>A update-event filter must have the signature as {@link
26
+
* java.util.function.BiPredicate<ApiType, Boolean>} where the 1st parameter is the
27
+
* "before-deletion" state of the resource and the 2nd indicates whether the cache entry for the
Copy file name to clipboardExpand all lines: spring/src/main/java/io/kubernetes/client/spring/extended/controller/annotation/UpdateWatchEventFilter.java
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,12 @@
18
18
importjava.lang.annotation.Target;
19
19
20
20
/**
21
-
* Indicates that the method is a filter for {@link
22
-
* io.kubernetes.client.informer.EventType#MODIFIED} from watches.
21
+
* Indicates that the method is a filter for {@link io.kubernetes.client.informer.EventType#DELETED}
22
+
* from watches.
23
23
*
24
-
* <p>A update-event filter must have the signature as {@link
25
-
* java.util.function.BiPredicate<ApiType, Boolean>} where the 1st parameter is the
26
-
* "before-deletion" state of the resource and the 2nd indicates whether the cache entry for the
27
-
* resource is stale.
24
+
* <p>A delete-event filter must have the signature as {@link
25
+
* java.util.function.BiPredicate<ApiType,ApiType>} where the 1st parameter is the old state of the
0 commit comments