Interface Watcher<T>
public interface Watcher<T>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoideventReceived(Watcher.Action action, T resource) voidonClose(io.kubernetes.client.openapi.ApiException cause) Run when the watcher finally closes.
-
Method Details
-
eventReceived
-
onClose
void onClose(io.kubernetes.client.openapi.ApiException cause) Run when the watcher finally closes.- Parameters:
cause- What caused the watcher to be closed. Null means normal close.
-