| Modifier and Type | Field and Description |
|---|---|
| private Context | |
| private int | |
| protected OutputStream | |
| protected boolean | |
| private RecoveryCoordinator | |
| pack-priv List | |
| pack-priv static final int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| pack-priv void | |
| pack-priv void | |
| public void | close()
Overrides java. Implements java. |
| public void | flush()
Overrides java. Implements java. |
| public Context | |
| pack-priv abstract String | |
| private boolean | |
| pack-priv abstract OutputStream | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
| public void | write(int
the b)byte.Implements abstract java. |
| context | back to summary |
|---|---|
| private Context context | |
| noContextWarning | back to summary |
|---|---|
| private int noContextWarning | |
| os | back to summary |
|---|---|
| protected OutputStream os | |
| presumedClean | back to summary |
|---|---|
| protected boolean presumedClean | |
| recoveryCoordinator | back to summary |
|---|---|
| private RecoveryCoordinator recoveryCoordinator | |
| recoveryListeners | back to summary |
|---|---|
| pack-priv List<RecoveryListener> recoveryListeners | |
| STATUS_COUNT_LIMIT | back to summary |
|---|---|
| pack-priv static final int STATUS_COUNT_LIMIT | |
| statusCount | back to summary |
|---|---|
| private int statusCount | |
| ResilientOutputStreamBase | back to summary |
|---|---|
| public ResilientOutputStreamBase() | |
| addRecoveryListener | back to summary |
|---|---|
| public void addRecoveryListener(RecoveryListener listener) | |
| addStatus | back to summary |
|---|---|
| public void addStatus(Status status) | |
| addStatusIfCountNotOverLimit | back to summary |
|---|---|
| pack-priv void addStatusIfCountNotOverLimit(Status s) | |
| attemptRecovery | back to summary |
|---|---|
| pack-priv void attemptRecovery() | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| flush | back to summary |
|---|---|
| public void flush() Overrides java. Implements java. Doc from java. Flushes this output stream and forces any buffered output bytes
to be written out. The general contract of If the intended destination of this stream is an abstraction provided by the underlying operating system, for example a file, then flushing the stream guarantees only that bytes previously written to the stream are passed to the operating system for writing; it does not guarantee that they are actually written to a physical device such as a disk drive.
| |
| getContext | back to summary |
|---|---|
| public Context getContext() | |
| getDescription | back to summary |
|---|---|
| pack-priv abstract String getDescription() | |
| isPresumedInError | back to summary |
|---|---|
| private boolean isPresumedInError() | |
| openNewOutputStream | back to summary |
|---|---|
| pack-priv abstract OutputStream openNewOutputStream() throws IOException | |
| postIOFailure | back to summary |
|---|---|
| public void postIOFailure(IOException e) | |
| postSuccessfulWrite | back to summary |
|---|---|
| private void postSuccessfulWrite() | |
| removeRecoveryListener | back to summary |
|---|---|
| public void removeRecoveryListener(RecoveryListener listener) | |
| setContext | back to summary |
|---|---|
| public void setContext(Context context) | |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) Overrides java. Doc from java. Writes
If
If
| |
| write | back to summary |
|---|---|
| public void write(int b) Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |