|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.eclipse.jgit.util.TemporaryBuffer
org.eclipse.jgit.util.TemporaryBuffer.Heap
public static class TemporaryBuffer.Heap
A temporary buffer that will never exceed its in-memory limit.
If the in-memory limit is reached an IOException is thrown, rather than attempting to spool to local disk.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jgit.util.TemporaryBuffer |
|---|
TemporaryBuffer.Heap, TemporaryBuffer.LocalFile |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jgit.util.TemporaryBuffer |
|---|
DEFAULT_IN_CORE_LIMIT |
| Constructor Summary | |
|---|---|
TemporaryBuffer.Heap(int limit)
Create a new heap buffer with a maximum storage limit. |
|
| Method Summary | |
|---|---|
protected java.io.OutputStream |
overflow()
Open the overflow output stream, so the remaining output can be stored. |
| Methods inherited from class org.eclipse.jgit.util.TemporaryBuffer |
|---|
close, copy, destroy, doFlush, length, openInputStream, reset, toByteArray, write, write, writeTo |
| Methods inherited from class java.io.OutputStream |
|---|
flush, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemporaryBuffer.Heap(int limit)
limit - maximum number of bytes that can be stored in this buffer.
Storing beyond this many will cause an IOException to be
thrown during write.| Method Detail |
|---|
protected java.io.OutputStream overflow()
throws java.io.IOException
TemporaryBuffer
overflow in class TemporaryBufferjava.io.IOException - the buffer cannot create the overflow stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||