Skip to content

Commit d6a6d1c

Browse files
committed
refactor!: replace Closeable by explicit Stoppable interface
This ensures that stoppable classes can also be started if needed. Fixes #629
1 parent cbfd993 commit d6a6d1c

File tree

1 file changed

+9
-0
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api

1 file changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package io.javaoperatorsdk.operator.api;
2+
3+
import io.javaoperatorsdk.operator.OperatorException;
4+
5+
public interface Stoppable {
6+
void start() throws OperatorException;
7+
8+
void stop() throws OperatorException;
9+
}

0 commit comments

Comments
 (0)