Skip to content

Commit 297b084

Browse files
authored
fix: javadoc for fails snapshot release (#1000)
1 parent 45fb7e0 commit 297b084

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/external/AbstractSimpleDependentResource.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ public Optional<R> getResource(HasMetadata primaryResource) {
3434
return cache.get(ResourceID.fromResource(primaryResource));
3535
}
3636

37-
/** Actually read the resource from the target API */
37+
/**
38+
* Actually read the resource from the target API
39+
*
40+
* @param primaryResource the primary associated resource
41+
* @return fetched resource if present
42+
**/
3843
public abstract Optional<R> fetchResource(HasMetadata primaryResource);
3944

4045
@Override

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/ExternalResourceCachingEventSource.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
import io.javaoperatorsdk.operator.processing.event.source.CachingEventSource;
66

77
public class ExternalResourceCachingEventSource<R, P extends HasMetadata>
8-
extends CachingEventSource<R, P>
9-
implements RecentOperationCacheFiller<R> {
8+
extends CachingEventSource<R, P> implements RecentOperationCacheFiller<R> {
109

1110
public ExternalResourceCachingEventSource(Class<R> resourceClass) {
1211
super(resourceClass);

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/CachingEventSource.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
/**
1111
* Base class for event sources with caching capabilities.
1212
* <p>
13-
* {@link #handleDelete(ResourceID)} - if the related resource is present in the cache it is removed
14-
* and event propagated. There is no event propagated if the resource is not in the cache.
15-
* <p>
16-
* {@link #handleEvent(Object, ResourceID)} - caches the resource if changed or missing. Propagates
17-
* an event if the resource is new or not equals to the one in the cache, and if accepted by the
18-
* filter if one is present.
1913
*
2014
* @param <R> represents the type of resources (usually external non-kubernetes ones) being handled.
2115
*/

0 commit comments

Comments
 (0)