Skip to content

docs: javadoc for CRUDNoGCKubernetesDependentResource #1483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
import io.javaoperatorsdk.operator.processing.dependent.Updater;

/**
* Adaptor class for standalone mode for resources that manage Create, Read and Update operations
* and that should be automatically garbage-collected by Kubernetes when the associated primary
* resource is destroyed.
* Adaptor class resources that manage Create, Read and Update operations and that should be
* automatically garbage-collected by Kubernetes when the associated primary resource is destroyed.
*
* @param <R> the type of the managed dependent resource
* @param <P> the type of the associated primary resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
import io.javaoperatorsdk.operator.processing.dependent.Creator;
import io.javaoperatorsdk.operator.processing.dependent.Updater;

/**
*
* Adaptor class resources that manage Create, Read and Update operations, however resource is NOT
* garbage collected by Kubernetes when the associated primary resource is destroyed, instead
* explicitly deleted. This is useful when resource needs to be deleted before another one in a
* workflow, in other words an ordering matters during a cleanup. See also:
* <a href="https://github.com/java-operator-sdk/java-operator-sdk/issues/1127">Related issue</a>
*
* @param <R> the type of the managed dependent resource
* @param <P> the type of the associated primary resource
*/
@Ignore
public class CRUDNoGCKubernetesDependentResource<R extends HasMetadata, P extends HasMetadata>
extends KubernetesDependentResource<R, P>
Expand Down