Package com.mysql.cj.protocol
Interface WriterWatcher
public interface WriterWatcher
Objects that want to be notified of lifecycle events on a WatchableWriter should implement this interface, and register themselves with setWatcher() on the
WatchableWriter instance.
-
Method Summary
Modifier and Type Method Description void
writerClosed(WatchableWriter out)
Called when the Writer being watched has .close() called
-
Method Details
-
writerClosed
Called when the Writer being watched has .close() called- Parameters:
out
- WatchableWriter instance
-