Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- add(ParallelZipWriter.Entry) - Method in class com.ljarocki.parallelzip.internal.ParallelZipWriter.Sink
- allocCompressor(int) - Static method in class com.ljarocki.parallelzip.internal.LibdeflateNative
-
Allocates a native compressor for the given DEFLATE level (1..12), to be reused across many
LibdeflateNative.compress(long, byte[], int, int, byte[], int, int, long[])/LibdeflateNative.compressBatch(long, byte[][], byte[][], int[], long[], int)calls -- typically one per worker thread, held for the life of a write. - apply(Project) - Method in class com.ljarocki.parallelzip.ParallelZipPlugin
- archiveSize() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Returns the value of the
archiveSizerecord component. - available() - Static method in class com.ljarocki.parallelzip.internal.LibdeflateNative
B
- baseDir() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Source
-
Returns the value of the
baseDirrecord component.
C
- com.ljarocki.parallelzip - package com.ljarocki.parallelzip
- com.ljarocki.parallelzip.internal - package com.ljarocki.parallelzip.internal
- compress(long, byte[], int, int, byte[], int, int, long[]) - Static method in class com.ljarocki.parallelzip.internal.LibdeflateNative
-
Compresses
in[inOff, inOff+inLen)intoout[outOff, outOff+outCap)using raw DEFLATE, with the compressor identified byhandle. - compressBatch(long, byte[][], byte[][], int[], long[], int) - Static method in class com.ljarocki.parallelzip.internal.LibdeflateNative
-
Compresses
countindependent buffers in one native call, reusinghandlefor all of them. - compressDirect(long, ByteBuffer, int, byte[], int, int, long[]) - Static method in class com.ljarocki.parallelzip.internal.LibdeflateNative
-
Compresses directly from a direct (typically memory-mapped)
ByteBuffer--in[0, inLen)-- intoout[outOff, outOff+outCap), without ever copying the input through a JVM heapbyte[]. - compressWriteMs() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Returns the value of the
compressWriteMsrecord component. - createCopyAction() - Method in class com.ljarocki.parallelzip.ParallelZip
D
- dirEntry(String, int, int, int) - Static method in class com.ljarocki.parallelzip.internal.ParallelZipWriter
- dosDateTime(long) - Static method in class com.ljarocki.parallelzip.internal.ParallelZipWriter
E
- Entry() - Constructor for class com.ljarocki.parallelzip.internal.ParallelZipWriter.Entry
- entryCount() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Returns the value of the
entryCountrecord component. - enumerateMs() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Returns the value of the
enumerateMsrecord component. - equals(Object) - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Source
-
Indicates whether some other object is "equal to" this one.
- execute(CopyActionProcessingStream) - Method in class com.ljarocki.parallelzip.internal.ParallelZipCopyAction
F
- fileEntry(String, Path, boolean, long, int, int, int) - Static method in class com.ljarocki.parallelzip.internal.ParallelZipWriter
- finish() - Method in class com.ljarocki.parallelzip.internal.ParallelZipWriter.Sink
- FIXED_DOS_DATE - Static variable in class com.ljarocki.parallelzip.internal.ParallelZipWriter
- FIXED_DOS_TIME - Static variable in class com.ljarocki.parallelzip.internal.ParallelZipWriter
- freeCompressor(long) - Static method in class com.ljarocki.parallelzip.internal.LibdeflateNative
-
Releases a handle returned by
LibdeflateNative.allocCompressor(int).
G
- getLevel() - Method in class com.ljarocki.parallelzip.ParallelZip
-
DEFLATE level 0..9, or -1 for the zlib default (6).
- getSkipAlreadyCompressed() - Method in class com.ljarocki.parallelzip.ParallelZip
-
When true (the default), an entry recognized by file-signature as already compressed (jars, gzip, images, and more -- see
ARCHITECTURE.md) is STORED without even attempting DEFLATE. - getStore() - Method in class com.ljarocki.parallelzip.ParallelZip
-
When true, every entry is STORED (no compression).
- getThreads() - Method in class com.ljarocki.parallelzip.ParallelZip
-
Number of compression threads.
H
- hashCode() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Source
-
Returns a hash code value for this object.
I
- inlineEntry(String, byte[], int, int, int) - Static method in class com.ljarocki.parallelzip.internal.ParallelZipWriter
L
- LibdeflateNative - Class in com.ljarocki.parallelzip.internal
-
Bindings to a bundled native libdeflate build.
P
- ParallelZip - Class in com.ljarocki.parallelzip
-
A drop-in replacement for Gradle's
Ziptask that compresses entries in parallel. - ParallelZip() - Constructor for class com.ljarocki.parallelzip.ParallelZip
- ParallelZipCopyAction - Class in com.ljarocki.parallelzip.internal
-
Bridges Gradle's copy pipeline to
ParallelZipWriter. - ParallelZipCopyAction(Path, boolean, boolean, int, int, boolean, long) - Constructor for class com.ljarocki.parallelzip.internal.ParallelZipCopyAction
- ParallelZipPlugin - Class in com.ljarocki.parallelzip
-
Applying this plugin makes the
ParallelZiptask type available to the build script. - ParallelZipPlugin() - Constructor for class com.ljarocki.parallelzip.ParallelZipPlugin
- ParallelZipWriter - Class in com.ljarocki.parallelzip.internal
-
Core parallel ZIP writer.
- ParallelZipWriter.Entry - Class in com.ljarocki.parallelzip.internal
-
One archive entry.
- ParallelZipWriter.Result - Record Class in com.ljarocki.parallelzip.internal
- ParallelZipWriter.Sink - Class in com.ljarocki.parallelzip.internal
-
A running compress-and-write pipeline.
- ParallelZipWriter.Source - Record Class in com.ljarocki.parallelzip.internal
-
A source tree to be added under an optional archive path prefix (directory front-end).
- prefix() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Source
-
Returns the value of the
prefixrecord component.
R
- rawBytes() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Returns the value of the
rawBytesrecord component. - Result(long, int, long, long, long, long, boolean) - Constructor for record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Creates an instance of a
Resultrecord class.
S
- Sink(Path, boolean, boolean, int, int, boolean, long, Path) - Constructor for class com.ljarocki.parallelzip.internal.ParallelZipWriter.Sink
- Source(Path, String) - Constructor for record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Source
-
Creates an instance of a
Sourcerecord class. - SPILL_THRESHOLD - Static variable in class com.ljarocki.parallelzip.internal.ParallelZipWriter
-
Entries larger than this are streamed (spilled) instead of held in memory.
- STORE_SENTINEL - Static variable in class com.ljarocki.parallelzip.internal.LibdeflateNative
-
Sentinel returned by
LibdeflateNative.compress(long, byte[], int, int, byte[], int, int, long[])/LibdeflateNative.compressBatch(long, byte[][], byte[][], int[], long[], int)(as the entry's length) when the native incompressibility sniff judged a large input to be already compressed: the caller should STORE the whole entry instead of compressing it. - storedBytes() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Returns the value of the
storedBytesrecord component.
T
- toString() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Returns a string representation of this record class.
- toString() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Source
-
Returns a string representation of this record class.
W
- write(List<ParallelZipWriter.Source>, Path, boolean, int, int, boolean) - Static method in class com.ljarocki.parallelzip.internal.ParallelZipWriter
-
Directory front-end: walk source trees and archive them.
- writeEntries(List<ParallelZipWriter.Entry>, Path, boolean, boolean, int, int, boolean, long, Path) - Static method in class com.ljarocki.parallelzip.internal.ParallelZipWriter
- writeEntries(List<ParallelZipWriter.Entry>, Path, boolean, int, int, boolean, long, Path) - Static method in class com.ljarocki.parallelzip.internal.ParallelZipWriter
-
Core: compress
entriesin parallel and write them tooutin list order.
Z
- zip64() - Method in record class com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
-
Returns the value of the
zip64record component.
All Classes and Interfaces|All Packages|Constant Field Values