T - the type of target data modelpublic interface FragmentableDataFormat<T> extends DataFormat<T>
| Modifier and Type | Method and Description |
|---|---|
default long |
getMinimumFragmentSize()
Returns the lower limit of fragment size (in bytes).
|
default long |
getPreferredFragmentSize()
Returns the preferred fragment size (in bytes).
|
getSupportedTypedefault long getPreferredFragmentSize()
throws IOException,
InterruptedException
-1 as infiniteIOException - if failed to compute bytes countInterruptedException - if interrupteddefault long getMinimumFragmentSize()
throws IOException,
InterruptedException
-1 as infinite (never split into fragments)IOException - if failed to compute bytes countInterruptedException - if interruptedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.