private static class UnnamedStreams.OutputCloser extends java.lang.Object implements Finalizable
Modifier | Constructor and Description |
---|---|
private |
OutputCloser() |
Modifier and Type | Method and Description |
---|---|
void |
deleted()
Provides a notification that the external program scope in which the object is registered is
is being deleted and the object's reference will be lost after this method is called.
|
void |
finished()
This method will be called when the current block will be popped out
of scope and will close the stream if there is no explicit
"output close" statement.
|
void |
iterate()
This method is unused.
|
void |
retry()
This method is unused.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initFailure
public void finished()
finished
in interface Finalizable
public void deleted()
This is a no-op for unnamed streams.
deleted
in interface Finalizable
public void iterate()
iterate
in interface Finalizable
Finalizable.iterate()
public void retry()
retry
in interface Finalizable
Finalizable.iterate()